Be resilient to thrown non-errors in import process (#1737)

pull/749/head
Scott Nonnenberg 8 years ago committed by GitHub
parent 9e6d50b966
commit 34dd375260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save