Merge pull request #54 from rubenlagus/dev

Add global exception catch with sleep time
This commit is contained in:
Ruben Bermudez 2016-04-29 12:19:48 +02:00
commit 08a2cca78c

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