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) if (null != sound)
return sound; return sound;
} }
catch { } catch (System.Exception X)
{
FormatCatalog.Instance.LastError = X;
}
} }
if (0 == signature) if (0 == signature)
break; break;

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion ("1.0.1.4")] [assembly: AssemblyVersion ("1.0.1.5")]
[assembly: AssemblyFileVersion ("1.0.1.4")] [assembly: AssemblyFileVersion ("1.0.1.5")]