mirror of https://github.com/docker/docs.git
Format the error message a little bit better.
The error message is actually a object and not a string so we format it a bit better with this patch. Signed-off-by: Kristján Oddsson <koddsson@gmail.com>
This commit is contained in:
parent
b67c1a912e
commit
9eab0501fd
|
@ -75,7 +75,7 @@ var ContainerHome = React.createClass({
|
|||
body = (
|
||||
<div className="details-progress">
|
||||
<h3>An error occurred:</h3>
|
||||
<h2>{this.props.error}</h2>
|
||||
<h2>{this.props.error.statusCode} {this.props.error.reason} - {this.props.error.json}</h2>
|
||||
<h3>If you feel that this error is invalid, please <a onClick={this.handleErrorClick}>file a ticket on our GitHub repo.</a></h3>
|
||||
<Radial progress={100} error={true} thick={true} transparent={true}/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue