mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
Be resilient to thrown non-errors in import process (#1737)
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
}.bind(this)).catch(function(error) {
|
||||
console.log('Error importing:', error && error.stack ? error.stack : error);
|
||||
|
||||
this.error = error.message;
|
||||
this.error = error || new Error('Something went wrong!');
|
||||
this.state = null;
|
||||
this.render();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user