Skip to content

Unhandled Errors Message Information #17

@mikecbone

Description

@mikecbone

Adding unhandled() to my electron application, when getting an error message I don't seem to get relevent helpful information as compared to the example. Instead I get a NonError, which I do not understand. The stack trace doesn't appear to reference any code I've written. This is for any error I get that pops up.

I appologise if this is working as intended. If so then some clarification would be appreciated!

I am using Electron 7, with Vue & Vue-Router. I have added unhandled in my main.js and my App.vue.

Example error:

Unhandled Error
NonError: ErrorEvent { isTrusted: [Getter] }
    at module.exports (C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/ensure-error/index.js:14:10)
    at handleError (C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/electron-unhandled/index.js:24:10)
    at C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/electron-unhandled/index.js:83:4
    at invokeFunc (C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/lodash.debounce/index.js:160:19)
    at trailingEdge (C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/lodash.debounce/index.js:207:14)
    at timerExpired (C:/Users/DefProc Engineering/AppData/Local/Programs/gh-record/resources/app.asar/node_modules/lodash.debounce/index.js:195:14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions