Skip to content

Commit

Permalink
fix: Handles already connected exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Dec 12, 2024
1 parent 57913c0 commit 63a0655
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,10 @@ private Callable<Boolean> getConnectAndLoginCallable()
{
xmppConnection.connect();
}
catch (SmackException.AlreadyConnectedException e)
{
logger.info("Already connected.");
}
catch(Exception t)
{
logger.warn("Error connecting:", t);
Expand Down

0 comments on commit 63a0655

Please sign in to comment.