This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
@@@@@@@@@@@@@@@ ROADMAP STAGE 4 - REPORTING / DASHBOARD / KPI
|
||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
|
||||
todo: exception handling around reports sucks
|
||||
todo: No message in popup should be more than can be viewed at once on a phone (600 characters maximum)
|
||||
todo: Exceptions, some are still showing [object,object]!
|
||||
|
||||
todo: Exceptions don't show "Name: Error," ever
|
||||
todo: NON DEV MODE
|
||||
No stack trace in error messages!
|
||||
|
||||
@@ -46,6 +46,7 @@ export default {
|
||||
helpUrl
|
||||
) {
|
||||
window.$gz.store.commit("logItem", "notify-warning: " + msg);
|
||||
msg = msg.substring(0, 600);
|
||||
vm.$root.$gznotify({
|
||||
message: msg,
|
||||
type: "warning",
|
||||
@@ -61,6 +62,7 @@ export default {
|
||||
helpUrl
|
||||
) {
|
||||
window.$gz.store.commit("logItem", "notify-info: " + msg);
|
||||
msg = msg.substring(0, 600);
|
||||
vm.$root.$gznotify({
|
||||
message: msg,
|
||||
type: "info",
|
||||
|
||||
@@ -377,6 +377,8 @@ export default {
|
||||
"\r\nError: " +
|
||||
error.message;
|
||||
}
|
||||
//this just makes the error a little cleaner to remove the extraneous typeerror
|
||||
msg = msg.replace(" TypeError:", "");
|
||||
vm.formState.errorBoxMessage = msg;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user