Jump to content
McKay Development

Error: "Already attempting to log on, cannot log on again" not being caught


Recommended Posts

I'm trying to reconnect the user and I'm handling all possible errors. As you can see in the logs, the first module I wrote in the stack trace is `SteamAccountClient.login()`, which calls `client.logOn() (a method from steam-user)`

 

Screenshot_7.png

 

This image shows the code for `SteamAccountClient.login()`. It's wrapping `client.logOn()` in a try-catch block, so no error should've be thrown.

Screenshot_8.png

 

I noticed an internal use of the `logOn()` method within a timeout, but without any try-catch block. This could be why my app is crashing, even though it's shown in the stack trace.

Screenshot_9.png

Edited by vmarkis
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.

Guest
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.

Loading...
×
×
  • Create New...