Implement logging system
This commit is contained in:
parent
99cec71ed7
commit
f6a0e634d7
39 changed files with 442 additions and 125 deletions
|
@ -45,8 +45,7 @@ export const ViewHeader = observer(function ViewHeader({
|
|||
}
|
||||
const onPressReconnect = () => {
|
||||
store.session.connect().catch(e => {
|
||||
// log for debugging but ignore otherwise
|
||||
console.log(e)
|
||||
store.log.warn('Failed to reconnect to server', e)
|
||||
})
|
||||
}
|
||||
if (typeof canGoBack === 'undefined') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue