Log error message to console in LoadWithFilter exception handler
See: #412
This commit is contained in:
@@ -3583,6 +3583,10 @@ SaveOrLoadResult LoadWithFilter(LoadFilter *reader)
|
|||||||
return DoLoad(reader, false);
|
return DoLoad(reader, false);
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
ClearSaveLoadState();
|
ClearSaveLoadState();
|
||||||
|
|
||||||
|
/* Skip the "colour" character */
|
||||||
|
DEBUG(sl, 0, "%s", GetSaveLoadErrorString() + 3);
|
||||||
|
|
||||||
return SL_REINIT;
|
return SL_REINIT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user