commit e060d54aecbc3231a10c0d82c74c8cf32abfc7fd
parent 6b4dedf9f92a911371d7f3f656f96c3b78348e2a
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date: Thu, 15 Nov 2018 15:37:15 +1300
[~] Throw error messages to make them visible in the console.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/cmd/desktop/ui/src/App.vue b/cmd/desktop/ui/src/App.vue
@@ -185,6 +185,9 @@ export default {
pushMessage(msg) {
msg.id = this.messages.id++
this.messages.active.push(msg)
+ if (msg.isErr) {
+ throw msg
+ }
}
},
computed: {