mirror of
https://github.com/claunia/osrepodbmgr.git
synced 2025-12-16 19:14:25 +00:00
Do not exception on thread abort.
This commit is contained in:
@@ -123,6 +123,9 @@ namespace osrepodbmgr.Core
|
||||
if(Failed != null)
|
||||
Failed(string.Format("Unable to open image format\n" +
|
||||
"Error: {0}", ex.Message));
|
||||
#if DEBUG
|
||||
Console.WriteLine("Exception {0}\n{1}", ex.Message, ex.InnerException);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -989,6 +992,9 @@ namespace osrepodbmgr.Core
|
||||
{
|
||||
if(Failed != null)
|
||||
Failed(string.Format("Error reading file: {0}\n{1}", ex.Message, ex.StackTrace));
|
||||
#if DEBUG
|
||||
Console.WriteLine("Exception {0}\n{1}", ex.Message, ex.InnerException);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user