Add global exception catch with sleep time

This commit is contained in:
Ruben Bermudez 2016-04-28 09:15:11 +02:00
parent ffa98c5928
commit 017c4b2b1d

View File

@ -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) {
}
}
}
}