Ekkstein / pack-o-bot

A minimal Hearthstone pack tracker that logs packs to pitytracker.com
MIT License
15 stars 4 forks source link

"A JavaScript error occurred in the main process" when opening AoO pack #28

Open Kopert opened 4 years ago

Kopert commented 4 years ago

Had Pack-o-Bot 0.3.3 running in the background and went to open an AoO pack when I got the message shown in the attachment. Capturar

After restarting the application the next pack I opened (was a RoS pack) was uploaded successfully. The first pack was not uploaded. packs.json is empty.

Ekkstein commented 4 years ago

This sounds like a window was closed and therefore undefined. Maybe you accidentally closed a window and didn't minimise it. Maybe you can reproduce this assumption. If so, this is an issue and needs to be addressed with the next update. EDIT: I guess in can check this myself. Whoever comes first can report. Thank you.

Kopert commented 4 years ago

I believe your assumption is correct. I always close the application's window after starting it so it sits on the tray, that used to work before with no problems.

I get no errors if I don't touch the application's window after starting it.

Ekkstein commented 4 years ago

Thank you for checking. I'll leave this issue open for me to deal with as soon as I pick up pack-o-bot next time. You should be able to close or minimise the window without the app throwing an error.