File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,13 @@ public void DisablePortableMode()
3434 }
3535 catch ( Exception e )
3636 {
37- //log and update error message to output above locations where shortcuts may not have been removed
3837#if DEBUG
3938 portabilityUpdater . Dispose ( ) ;
4039 throw ;
4140#else
4241 portabilityUpdater . Dispose ( ) ;
43- throw ; // PRODUCTION LOGGING AND CONTINUE
44-
42+ Log . Exception ( "Portable" , "Error occured while disabling portable mode" , e ) ;
43+ throw ;
4544#endif
4645 }
4746 }
@@ -66,14 +65,13 @@ public void EnablePortableMode()
6665 }
6766 catch ( Exception e )
6867 {
69- //log and update error message to output above locations where shortcuts may not have been removed
7068#if DEBUG
7169 portabilityUpdater . Dispose ( ) ;
7270 throw ;
7371#else
7472 portabilityUpdater . Dispose ( ) ;
75- throw ; // PRODUCTION LOGGING AND CONTINUE
76-
73+ Log . Exception ( "Portable" , "Error occured while enabling portable mode" , e ) ;
74+ throw ;
7775#endif
7876 }
7977 }
You can’t perform that action at this time.
0 commit comments