Jump to content
McKay Development

Application crashing on certain errors


Recommended Posts

Hi, I'm running a couple of steambots but when one of the bots receives an error like TooManyRequests or LogonSessionReplaced the application crashes. I would like it not to crash, as I have a couple of other bots running as well (process.exit() is being used in the modules?).

How can I stop this from happening?

Link to comment
Share on other sites

is there no other way? I feel like other unhandled errors might put the application in an unsafe state whereas a casual rate limit isn't as big of a deal, or would I just check for the specific error (and is there a list of errors that crash the application somewhere)?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...