diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-03 14:03:00 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-03 14:03:06 +0200 |
commit | b6e09fe34e81e45562f574b813cccc78fd21fafe (patch) | |
tree | d501f0c0584c09207a73d31ada079e0ee1015903 | |
parent | 1bbdd05aa36e91ee7ec5e3227339785794d607b2 (diff) |
Do not crash if picture/gif fails to load
-rw-r--r-- | src/Cache.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp index f3c5830..1c3261b 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -132,11 +132,7 @@ namespace dchat delete fileContent.data; } } - catch(FileException &e) - { - - } - catch(FailedToLoadResourceException &e) + catch(std::exception &e) { } |