File tree Expand file tree Collapse file tree
LogExpert.UI/Dialogs/LogTabWindow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,7 +283,8 @@ private static PersistenceData LoadInternal (string fileName)
283283
284284 return data ;
285285 }
286- catch ( Exception ex ) when ( ex is UnauthorizedAccessException or
286+ catch ( Exception ex ) when ( ex is JsonSerializationException or
287+ UnauthorizedAccessException or
287288 IOException )
288289 {
289290 _logger . Error ( ex , $ "Error loading persistence data from { fileName } ") ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static ProjectData LoadProjectData (string projectFileName)
2828 IOException )
2929 {
3030 _logger . Error ( ex , $ "Error loading persistence data from { projectFileName } ") ;
31- return null ;
31+ return new ProjectData ( ) ;
3232 }
3333 }
3434
Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ public class Bookmark
1010 #region cTor
1111
1212 [ JsonConstructor ]
13- public Bookmark ( )
14- {
15-
16- }
13+ public Bookmark ( ) { }
1714
1815 public Bookmark ( int lineNum )
1916 {
You can’t perform that action at this time.
0 commit comments