From 2593f9ffc3befe013ed1fa52a5bf155180d319b5 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 7 Nov 2014 17:11:51 +0400 Subject: [PATCH] store last thrown exception in FormatCatalog.LastError. --- GameRes/Audio.cs | 5 ++++- GameRes/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/GameRes/Audio.cs b/GameRes/Audio.cs index be0cc68c..c1b1e8a5 100644 --- a/GameRes/Audio.cs +++ b/GameRes/Audio.cs @@ -155,7 +155,10 @@ namespace GameRes if (null != sound) return sound; } - catch { } + catch (System.Exception X) + { + FormatCatalog.Instance.LastError = X; + } } if (0 == signature) break; diff --git a/GameRes/Properties/AssemblyInfo.cs b/GameRes/Properties/AssemblyInfo.cs index 30e75868..02ec9ac9 100644 --- a/GameRes/Properties/AssemblyInfo.cs +++ b/GameRes/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion ("1.0.1.4")] -[assembly: AssemblyFileVersion ("1.0.1.4")] +[assembly: AssemblyVersion ("1.0.1.5")] +[assembly: AssemblyFileVersion ("1.0.1.5")]