mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Handle json parsing errors when loading shift times history
Closes #1802.
This commit is contained in:
parent
6159f1587d
commit
9ec4059096
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user