heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.76k stars 183 forks source link

Bug: occasionally popping window with exception #221

Open rprtr258 opened 5 months ago

rprtr258 commented 5 months ago

Describe the bug I am running app in background using Appimage and putting it into i3 scratch workspace. Occasionally app throws exception and shows popup window with stack trace. I did nothing special to trigger it. Message is (parsed by OCR, may be inaccurate):

A JavaScript error occurred in the main process
Uncaught Exception:
Error: write EIO
at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket. writeGeneric (node:net:962:11)
at Socket. write (node:net:974:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at console.value (node:internal/console/constructor:305:16)
at console.log (node:internal/console/constructor:380:26)
at Function.writeFn (/tmp/.mount HeynotoFHj3j/resources/app.asar/node_modules/electron-log/src/main/transports/console.js:45:7)

Expected behavior No occasional windows popping up at all.

Screenshots image

Desktop (please complete the following information):