Skip to content

Commit

Permalink
Changing order of error message printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Geet Duggal committed Nov 29, 2018
1 parent 7c95247 commit a0b0b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxda.go
Expand Up @@ -44,8 +44,8 @@ func check(e error) {
}

func urlFailure(requestType string, url string, status string) {
log.Fatalln(fmt.Errorf("%s request to '%s' failed with status %s", requestType, url, status))
fmt.Println("ERROR when attempting API call. Please see <manifest-file-name>.download.log for more details.")
log.Fatalln(fmt.Errorf("%s request to '%s' failed with status %s", requestType, url, status))
}

func printLogAndOut(str string) {
Expand Down

0 comments on commit a0b0b2b

Please sign in to comment.