mirror of
https://github.com/BoostIo/Boostnote
synced 2026-02-19 02:38:51 +00:00
remove console.logs & improve error handling
This commit is contained in:
@@ -40,6 +40,7 @@ class UiTab extends React.Component {
|
||||
}})
|
||||
}
|
||||
this.handleSettingError = (err) => {
|
||||
console.log('handle err', err)
|
||||
this.setState({UiAlert: {
|
||||
type: 'error',
|
||||
message: err.message != null ? err.message : i18n.__('An error occurred!')
|
||||
|
||||
Reference in New Issue
Block a user