diff --git a/src/dialog_shift_times.cpp b/src/dialog_shift_times.cpp
index ae0bf242a7edbcb9e9566f0000dbe4344f07ac7e..dc4f183de867df43dba7acfbd756570f16c0caab 100644
--- a/src/dialog_shift_times.cpp
+++ b/src/dialog_shift_times.cpp
@@ -344,6 +344,9 @@ void DialogShiftTimes::LoadHistory() {
 	catch (agi::fs::FileSystemError const& e) {
 		LOG_D("dialog_shift_times/load_history") << "Cannot load shift times history: " << e.GetMessage();
 	}
+	catch (json::Exception const& e) {
+		LOG_D("dialog_shift_times/load_history") << "Cannot load shift times history: " << e.what();
+	}
 	catch (...) {
 		history_box->Thaw();
 		throw;