summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/StatusCache.cpp')
-rw-r--r--Swift/Controllers/StatusCache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swift/Controllers/StatusCache.cpp b/Swift/Controllers/StatusCache.cpp
index 3c6baed..f9196f6 100644
--- a/Swift/Controllers/StatusCache.cpp
+++ b/Swift/Controllers/StatusCache.cpp
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2012-2016 Isode Limited. 2 * Copyright (c) 2012-2019 Isode Limited.
3 * All rights reserved. 3 * All rights reserved.
4 * See the COPYING file for more information. 4 * See the COPYING file for more information.
5 */ 5 */
@@ -76,13 +76,13 @@ void StatusCache::loadRecents() {
76 previousStatuses_.push_back(PreviousStatus(boost::trim_copy(bits[1]), type)); 76 previousStatuses_.push_back(PreviousStatus(boost::trim_copy(bits[1]), type));
77 } 77 }
78 catch (const boost::bad_lexical_cast& e) { 78 catch (const boost::bad_lexical_cast& e) {
79 SWIFT_LOG(error) << "Failed to load recent status cache entry: " << e.what() << std::endl; 79 SWIFT_LOG(error) << "Failed to load recent status cache entry: " << e.what();
80 } 80 }
81 } 81 }
82 } 82 }
83 } 83 }
84 catch (const boost::filesystem::filesystem_error& e) { 84 catch (const boost::filesystem::filesystem_error& e) {
85 SWIFT_LOG(error) << "Failed to load recents: " << e.what() << std::endl; 85 SWIFT_LOG(error) << "Failed to load recents: " << e.what();
86 } 86 }
87} 87}
88 88
@@ -100,7 +100,7 @@ void StatusCache::saveRecents() {
100 file.close(); 100 file.close();
101 } 101 }
102 catch (const boost::filesystem::filesystem_error& e) { 102 catch (const boost::filesystem::filesystem_error& e) {
103 SWIFT_LOG(error) << "Failed to save recents: " << e.what() << std::endl; 103 SWIFT_LOG(error) << "Failed to save recents: " << e.what();
104 } 104 }
105} 105}
106 106