ui: fallback to json

This commit is contained in:
Aiden McClelland
2021-03-03 11:11:55 -07:00
committed by Keagan McClelland
parent f5ae93c999
commit 4100d4ca97

View File

@@ -103,7 +103,7 @@ export class AppActionsPage extends Cleanup {
if (e instanceof HttpErrorResponse) {
this.presentAlertActionFail(e.status, e.message)
} else {
this.presentAlertActionFail(-1, e.message)
this.presentAlertActionFail(-1, e.message || JSON.stringify(e))
}
}
}