Description:
Add generic error handler.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -115,8 +115,15 | |||
|
115 | 115 | #if NETCOREAPP |
|
116 | 116 | DllMap.Initialise(false); |
|
117 | 117 | #endif |
|
118 | using FNAGame g = new FNAGame(); | |
|
119 | g.Run(); | |
|
118 | try { | |
|
119 | using FNAGame g = new FNAGame(); | |
|
120 | g.Run(); | |
|
121 | } | |
|
122 | catch (Exception e) | |
|
123 | { | |
|
124 | Logging.Critical(string.Format("Unhandled exception: {0}", e)); | |
|
125 | return; | |
|
126 | } | |
|
120 | 127 | |
|
121 | 128 | #if !DEBUG |
|
122 | 129 | Logging.logFile.Close(); |
You need to be logged in to leave comments.
Login now