diff options
Diffstat (limited to 'MediaBrowser.Common/UI/BaseApplication.cs')
| -rw-r--r-- | MediaBrowser.Common/UI/BaseApplication.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Common/UI/BaseApplication.cs b/MediaBrowser.Common/UI/BaseApplication.cs index 27c64f451..b526781df 100644 --- a/MediaBrowser.Common/UI/BaseApplication.cs +++ b/MediaBrowser.Common/UI/BaseApplication.cs @@ -48,6 +48,11 @@ namespace MediaBrowser.Common.UI }
catch (Exception ex)
{
+ if (Logger.LoggerInstance != null)
+ {
+ Logger.LogException(ex);
+ }
+
MessageBox.Show("There was an error launching Media Browser: " + ex.Message);
splash.Close();
|
