Changeset 2660


Ignore:
Timestamp:
5/24/2012 5:08:16 AM (3 years ago)
Author:
lowjoel
Message:

There was an exception thrown here in one crash report; however there's no information on what error the system returned. So, include this information when we have to trigger an exception.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Util/VolumeInfo.cs

    r2647 r2660  
    877877                IntPtr.Zero, 0, IntPtr.Zero, 0, out result, IntPtr.Zero)) 
    878878            { 
    879                 throw new IOException("Could not unlock volume."); 
     879                throw new IOException("Could not unlock volume.", 
     880                    new Win32Exception(Marshal.GetLastWin32Error())); 
    880881            } 
    881882 
Note: See TracChangeset for help on using the changeset viewer.