File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ public partial class App : Application
2323
2424 private App ( )
2525 {
26+ AppDomain . CurrentDomain . UnhandledException += CurrentDomainOnUnhandledException ;
27+
2628 Thread . CurrentThread . CurrentCulture =
2729 System . Globalization . CultureInfo . CreateSpecificCulture ( "en-US" ) ;
2830 _memoryMonitor . StartTimer ( ) ;
@@ -50,6 +52,12 @@ private App()
5052 Marketing . LoadProgram ( ) ;
5153 }
5254
55+ private void CurrentDomainOnUnhandledException ( object sender ,
56+ UnhandledExceptionEventArgs e )
57+ {
58+ Log . Error ( ( Exception ) e . ExceptionObject , "CurrentDomainOnUnhandledException" ) ;
59+ }
60+
5361 private void RebootHandler ( )
5462 {
5563 _printerModel . PrinterViewModel . DownloadNotInProgress = false ;
Original file line number Diff line number Diff line change 1111 <Title >PrinterApp</Title >
1212 <Description >gui for work https://app.profcomff.com/print/docs</Description >
1313 <Authors >Dyakov EI</Authors >
14- <Version >2.1.11.0 </Version >
14+ <Version >2.1.11.1 </Version >
1515 <Company >dyakov.space</Company >
1616 <Copyright >dyakov.space @ 2023</Copyright >
1717 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments