|
@@ -129,7 +129,10 @@ try {
|
|
|
Log.Default.error("fatal", data)
|
|
Log.Default.error("fatal", data)
|
|
|
const formatted = FormatError(e)
|
|
const formatted = FormatError(e)
|
|
|
if (formatted) UI.error(formatted)
|
|
if (formatted) UI.error(formatted)
|
|
|
- if (formatted === undefined) UI.error("Unexpected error, check log file at " + Log.file() + " for more details")
|
|
|
|
|
|
|
+ if (formatted === undefined) {
|
|
|
|
|
+ UI.error("Unexpected error, check log file at " + Log.file() + " for more details\n")
|
|
|
|
|
+ console.error(e)
|
|
|
|
|
+ }
|
|
|
process.exitCode = 1
|
|
process.exitCode = 1
|
|
|
}
|
|
}
|
|
|
|
|
|