Fixed generic exception catching.
This commit is contained in:
parent
1035f5ba05
commit
08260a632b
1 changed files with 1 additions and 3 deletions
|
@ -100,9 +100,7 @@ final class TellMessagesMgr {
|
||||||
}
|
}
|
||||||
} catch (FileNotFoundException ignore) {
|
} catch (FileNotFoundException ignore) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
} catch (IOException e) {
|
} catch (IOException | ClassNotFoundException e) {
|
||||||
logger.error("An IO error occurred loading the messages queue.", e);
|
|
||||||
} catch (Exception e) {
|
|
||||||
logger.error("An error occurred loading the messages queue.", e);
|
logger.error("An error occurred loading the messages queue.", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue