Changeset 2645


Ignore:
Timestamp:
05/22/12 10:53:09 (2 years ago)
Author:
lowjoel
Message:

When we try to obtain drive information, if we get an IOException we should handle it gracefully and not crash the program.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/DriveErasureTargetConfigurer.cs

    r2517 r2645  
    5858                            new FileSize(PhysicalDrive.Size)); 
    5959                    } 
     60                    catch (IOException) 
     61                    { 
     62                        Cache = S._("Hard disk {0}", PhysicalDrive.Index); 
     63                    } 
    6064                    catch (UnauthorizedAccessException) 
    6165                    { 
Note: See TracChangeset for help on using the changeset viewer.