Skip to content
Extraits de code Groupes Projets
Valider 74bad869 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Handle json parsing errors when loading shift times history

Closes #1802.
parent 2345bc4d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter