Only catch exceptions with CrashDialog if in release mode
This commit is contained in:
parent
bfcce47c69
commit
5d46fe225b
@ -317,14 +317,18 @@ namespace UniversalEditor.UserInterface
|
||||
mvarCurrentEngine = engines[0];
|
||||
}
|
||||
|
||||
#if !DEBUG
|
||||
try
|
||||
{
|
||||
#endif
|
||||
mvarCurrentEngine.StartApplication();
|
||||
#if !DEBUG
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
mvarCurrentEngine.ShowCrashDialog(ex);
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user