Changeset 2664 for branches/eraser6/6.0


Ignore:
Timestamp:
5/24/2012 7:35:36 AM (3 years ago)
Author:
lowjoel
Message:

Merged revision(s) 2660 from trunk/eraser: 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.

Location:
branches/eraser6/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0

  • branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs

    r2562 r2664  
    743743                0, out result, IntPtr.Zero)) 
    744744            { 
    745                 throw new IOException("Could not unlock volume."); 
     745                throw new IOException("Could not unlock volume.", 
     746                    new Win32Exception(Marshal.GetLastWin32Error())); 
    746747            } 
    747748        } 
Note: See TracChangeset for help on using the changeset viewer.