Using console.error for error logs. (#517)
This commit is contained in:
parent
a4f023d250
commit
e976c45f88
7 changed files with 9 additions and 4 deletions
|
@ -104,6 +104,7 @@ export class ImageUploadForm extends Component<
|
|||
.catch(error => {
|
||||
i.state.loading = false;
|
||||
i.setState(i.state);
|
||||
console.error(error);
|
||||
toast(error, "danger");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue