Added proper redirection, improved loading error display

This commit is contained in:
2018-11-24 04:07:39 +00:00
committed by cdramey
parent 7ebbfc8da9
commit b3ee5c5e1b
4 changed files with 47 additions and 2 deletions

View File

@ -61,7 +61,7 @@ func loadjson(stor storage.Storage, filename string) error {
err := q.CheckValid()
if err != nil {
fmt.Printf("\nValidation failure: %s\n", err.Error())
fmt.Printf("\n%s\nValidation failure: %s\n", q.URL, err.Error())
continue
}