Skip to content

Commit cf54750

Browse files
committed
Add error message
1 parent 7c8727f commit cf54750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MicroflowTimer/widget/MicroflowTimer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ define([
191191
}
192192
}),
193193
error: lang.hitch(this, function(error) {
194-
logger.error(this.id + ": An error ocurred while executing microflow: ", error);
194+
mx.ui.error("An error ocurred while executing microflow" + error.message);
195195
})
196196
};
197197
if (!mx.version || mx.version && parseInt(mx.version.split(".")[0]) < 7) {
@@ -225,7 +225,7 @@ define([
225225
}
226226
}),
227227
error: lang.hitch(this, function(error) {
228-
mx.ui.error("An error ocurred while executing nanoflow");
228+
mx.ui.error("An error ocurred while executing nanoflow" + error.message);
229229
})
230230
});
231231
}

0 commit comments

Comments
 (0)