cacth all exceptions in MensaParser

there are many things that can go wrong
This commit is contained in:
2019-05-25 20:23:31 +02:00
parent e804774970
commit 9efc7fe4b7
4 changed files with 6 additions and 2 deletions

View File

@ -57,6 +57,8 @@ class MensaParser {
}
} catch (ex: SocketTimeoutException) {
logger.warn("timeout from $menuLink, updating on next attempt!")
} catch (gex: Exception) {
logger.error("general MensaParser error", gex)
}
return mealWeekList