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:
Kristján Oddsson 2015-04-05 15:41:01 +00:00
parent b67c1a912e
commit 9eab0501fd
1 changed files with 1 additions and 1 deletions

View File

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