diff --git a/source/sites/publi.codes/Yo.js b/source/sites/publi.codes/Yo.js index d58261ff2..aa348244b 100644 --- a/source/sites/publi.codes/Yo.js +++ b/source/sites/publi.codes/Yo.js @@ -105,7 +105,16 @@ class ErrorBoundary extends React.Component { render() { return ( <> - {this.state.error &&

Erreur : {JSON.stringify(this.state.error)}

} + {this.state.error && ( +

+ Erreur :{' '} + { + this.state.error.message.split( + 'The error may be correlated with' + )[0] + } +

+ )} {this.props.children} )