AriaMinaei / pretty-error

See node.js errors with less clutter
MIT License
1.52k stars 49 forks source link

Cannot parse/handle errors from electron correctly #43

Open aight8 opened 7 years ago

aight8 commented 7 years ago

Input:

Error: something happened
    at test (<anonymous>:1:25)
    at <anonymous>:1:47
    at EventEmitter.electron.ipcRenderer.on (/Users/sebi/jjd/js_package_nightmare-service/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer/init.js:52:28)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)

Output:

  Error: something happened

  <anonymous>:1 test <anonymous>:1:25
  <anonymous>:1  <anonymous>:1:47