mirror of https://github.com/docker/docs.git
More informative error message.
This commit is contained in:
parent
913658fcdd
commit
f9f2dc6191
|
@ -107,7 +107,7 @@ var Setup = React.createClass({
|
|||
<h4>Installation Error</h4>
|
||||
<h1>We're Sorry!</h1>
|
||||
<p>There seems to have been an unexpected error with Kitematic:</p>
|
||||
<p className="error">{this.state.error.message}</p>
|
||||
<p className="error">{this.state.error}<br />{this.state.error.message}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -176,6 +176,7 @@ var SetupStore = assign(Object.create(EventEmitter.prototype), {
|
|||
break;
|
||||
} catch (err) {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
console.log(err.stack);
|
||||
_error = err;
|
||||
this.emit(this.ERROR_EVENT);
|
||||
|
|
Loading…
Reference in New Issue