Add global exception catch with sleep time
This commit is contained in:
parent
ffa98c5928
commit
017c4b2b1d
@ -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