1
0
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:
Jeffrey Morgan
2015-03-06 13:50:26 -05:00
parent d280715773
commit 075afdaf88

View File

@@ -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