Improve error messages

This commit is contained in:
Harshavardhana
2015-08-20 17:22:38 -07:00
parent e254216106
commit dfd1b29d5f
16 changed files with 105 additions and 168 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func mainDiff(ctx *cli.Context) {
fatalIf(err, "Unable to canonicalize second URL.")
if isURLRecursive(secondURL) {
console.Fatalf("Second URL cannot be recursive. %s\n", errInvalidArgument{})
console.Fatalf("Second URL cannot be recursive. %s\n", errInvalidArgument)
}
newFirstURL := stripRecursiveURL(firstURL)
for diff := range doDiffCmd(newFirstURL, secondURL, isURLRecursive(firstURL)) {