mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
Fix white screen if VBox is not installed properly
This commit is contained in:
@@ -40,10 +40,8 @@ SetupStore.setup().then(() => {
|
||||
step: 'catch',
|
||||
message: err.message
|
||||
});
|
||||
bugsnag.notify('SetupError', 'Setup threw an exception', {
|
||||
step: 'catch',
|
||||
error: err
|
||||
});
|
||||
console.log(err);
|
||||
bugsnag.notify(err);
|
||||
});
|
||||
|
||||
ipc.on('application:quitting', opts => {
|
||||
|
||||
@@ -247,11 +247,9 @@ var SetupStore = assign(Object.create(EventEmitter.prototype), {
|
||||
step: _currentStep,
|
||||
message: err.message
|
||||
});
|
||||
var virtualboxVersion = virtualBox.installed() ? yield virtualBox.version() : 'Not installed';
|
||||
bugsnag.notify('SetupError', err.message, {
|
||||
error: err,
|
||||
step: _currentStep,
|
||||
virtualbox: virtualboxVersion
|
||||
step: _currentStep
|
||||
}, 'info');
|
||||
_error = err;
|
||||
this.emit(this.ERROR_EVENT);
|
||||
|
||||
Reference in New Issue
Block a user