Throw error after displaying it with dialog

Currently, we "swallow" errors by only showing them with the "dialog"
module, causing them to not be logged to TrackJS.
This commit is contained in:
Juan Cruz Viotti 2016-03-21 09:23:53 -04:00
parent dfcedffedd
commit 3166dbe4a6

View File

@ -81,4 +81,5 @@ exports.selectImage = function() {
*/
exports.showError = function(error) {
electron.dialog.showErrorBox(error.message, error.stack || '');
throw error;
};