Changeset 2752


Ignore:
Timestamp:
7/2/2012 2:42:22 AM (2 years ago)
Author:
lowjoel
Message:

Compile fix. We're just swallowing exceptions here since the Service instance should not show any UI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/EraserService/Eraser.Service/Program.cs

    r2750 r2752  
    5151                    } 
    5252                } 
    53                 catch (InvalidDataException ex) 
     53                catch (InvalidDataException) 
    5454                { 
    5555                    File.Delete(TaskListPath); 
    56                     MessageBox.Show(S._("Could not load task list. All task entries have " + 
    57                         "been lost. The error returned was: {0}", ex.Message), S._("Eraser"), 
    58                         MessageBoxButtons.OK, MessageBoxIcon.Error, 
    59                         MessageBoxDefaultButton.Button1, 
    60                         Localisation.IsRightToLeft(null) ? 
    61                             MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign : 0); 
    6256                } 
    6357 
Note: See TracChangeset for help on using the changeset viewer.