mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Rename Errors to GlobalErrors for clarity
This commit is contained in:
@@ -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(
|
||||
Reference in New Issue
Block a user