Rename Errors
to GlobalErrors
for clarity
This commit is contained in:
parent
2575196617
commit
3dffdc3f0b
2 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ const addUnhandledErrorHandler = require('electron-unhandled');
|
|||
const Errors = require('./types/errors');
|
||||
|
||||
|
||||
// addGlobalHandler :: Unit -> Unit
|
||||
exports.addGlobalHandler = () => {
|
||||
// addHandler :: Unit -> Unit
|
||||
exports.addHandler = () => {
|
||||
addUnhandledErrorHandler({
|
||||
logger: (error) => {
|
||||
console.error(
|
Loading…
Add table
Add a link
Reference in a new issue