Make error messages more concise and to the point.

This commit is contained in:
Kare Morstol
2015-10-29 00:21:31 +01:00
parent 6065d0226f
commit 1f07d40f04
+1 -1
View File
@@ -31,7 +31,7 @@ Print error to standard error and halt execution.
exit(errormessage: shellerror, errorcode: shellerror.errorcode, file: file, line: line)
} else {
let nserror = error as NSError
exit(errormessage: nserror, errorcode: Int32(nserror.code), file: file, line: line)
exit(errormessage: nserror.localizedDescription, errorcode: Int32(nserror.code), file: file, line: line)
}
}