Merge pull request #54 from rubenlagus/dev
Add global exception catch with sleep time
This commit is contained in:
commit
08a2cca78c
@ -128,7 +128,13 @@ public class BotSession {
|
||||
}
|
||||
} catch (JSONException ignored) {
|
||||
}
|
||||
} catch (IOException ignored) {
|
||||
} catch (Exception ignored) {
|
||||
try {
|
||||
synchronized (this) {
|
||||
this.wait(500);
|
||||
}
|
||||
} catch (InterruptedException ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user