From b6e09fe34e81e45562f574b813cccc78fd21fafe Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 3 May 2018 14:03:00 +0200 Subject: Do not crash if picture/gif fails to load --- src/Cache.cpp | 6 +----- 1 file changed, 1 insertion(+), 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) { } -- cgit v1.2.3