store last thrown exception in FormatCatalog.LastError.

This commit is contained in:
morkt
2014-11-07 17:11:51 +04:00
parent 2a7520939d
commit 2593f9ffc3
2 changed files with 6 additions and 3 deletions

View File

@@ -155,7 +155,10 @@ namespace GameRes
if (null != sound)
return sound;
}
catch { }
catch (System.Exception X)
{
FormatCatalog.Instance.LastError = X;
}
}
if (0 == signature)
break;