mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Better error messages
This commit is contained in:
@@ -240,10 +240,11 @@ var SetupStore = assign(Object.create(EventEmitter.prototype), {
|
||||
break;
|
||||
} catch (err) {
|
||||
metrics.track('Setup Failed', {
|
||||
step: _currentStep
|
||||
step: _currentStep,
|
||||
message: err.message
|
||||
});
|
||||
var virtualboxVersion = virtualBox.installed() ? yield virtualBox.version() : 'Not installed';
|
||||
bugsnag.notify('SetupError', 'Setup failed', {
|
||||
bugsnag.notify('SetupError', err.message, {
|
||||
error: err,
|
||||
step: _currentStep,
|
||||
virtualbox: virtualboxVersion
|
||||
|
||||
Reference in New Issue
Block a user