1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

advanced error logging for register piece

This commit is contained in:
Tim Daubenschütz 2015-07-28 17:45:05 +02:00
parent 8868842817
commit 390e5d51e9

View File

@ -91,7 +91,7 @@ let Form = React.createClass({
} }
} }
else { else {
console.logGlobal(err); console.logGlobal(err, false, this.getFormData());
this.setState({errors: [getLangText('Something went wrong, please try again later')]}); this.setState({errors: [getLangText('Something went wrong, please try again later')]});
} }
this.setState({submitted: false}); this.setState({submitted: false});