Chore: nicer error message

This commit is contained in:
EnixCoda 2020-03-04 00:31:58 +08:00
parent c0fcf7b971
commit b6e7833079
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -142,7 +142,7 @@ export const handleError: BoundMethodCreator<[Error]> = dispatch => async err =>
dispatch.call(setShowSettings, true)
} else {
DOMHelper.markGitakoReadyState(false)
dispatch.call(setError, 'Gitako ate a bug, but it should recovery soon!')
dispatch.call(setError, 'Some thing went wrong.')
throw err
}
}