Log error message to console in LoadWithFilter exception handler

See: #412
This commit is contained in:
Jonathan G Rennison 2022-08-27 21:55:14 +01:00
parent 1d08572cfa
commit 22a1fdff5e

View File

@ -3583,6 +3583,10 @@ SaveOrLoadResult LoadWithFilter(LoadFilter *reader)
return DoLoad(reader, false);
} catch (...) {
ClearSaveLoadState();
/* Skip the "colour" character */
DEBUG(sl, 0, "%s", GetSaveLoadErrorString() + 3);
return SL_REINIT;
}
}