ThiaudioTT / hoi4-presence

Hearts of Iron IV presence for Discord!
MIT License
13 stars 10 forks source link

Adds more time when getting errors #32

Open ThiaudioTT opened 10 months ago

ThiaudioTT commented 10 months ago

When I get some error, the program exit it without any warning in some cases.

We need to find when and where this occurs and adds a time.sleep(10) (or other thing) to let the user know that we get an error.

Wolfmyths commented 9 months ago

Should we also add in a logger as well? I fell like if something were to go wrong during runtime they wouldn't see it because they are playing the game. Python has a built-in logger module and it's actually really nice.

ThiaudioTT commented 9 months ago

Should we also add in a logger as well?

Yeah, we could do it. The main issue is that the program fail somehow, and the user don't know why