mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
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:
parent
dfcedffedd
commit
3166dbe4a6
@ -81,4 +81,5 @@ exports.selectImage = function() {
|
||||
*/
|
||||
exports.showError = function(error) {
|
||||
electron.dialog.showErrorBox(error.message, error.stack || '');
|
||||
throw error;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user