Using console.error for error logs. (#517)

This commit is contained in:
Dessalines 2021-12-02 11:46:32 -05:00 committed by GitHub
parent a4f023d250
commit e976c45f88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 4 deletions

View file

@ -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");
});
}