Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bukhonov <artem.bukhonov@jetbrains.com>2017-02-09 00:30:17 +0300
committerArtem Bukhonov <Artem.Bukhonov@jetbrains.com>2017-03-11 21:24:13 +0300
commit0a0b04058014b58da6e2bcac10d1b784c1c54809 (patch)
treef471c3a658017a07ca2cfe580103d75a4721ef8f /main/src/addins/MonoDevelop.Debugger.Win32
parent347a0b6884361391150f70e0fb3b60676f24d501 (diff)
MtaThread: throwing the original exception itself instead of wrapping with Exception. Otherwise the callsite may fail with logic in catch blocks, because all the exceptions will be wrapped
(cherry picked from commit 5ee8857)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/MtaThread.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/MtaThread.cs b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/MtaThread.cs
index 7a0850b1e1..eec44505a8 100644
--- a/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/MtaThread.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Win32/Mono.Debugging.Win32/MtaThread.cs
@@ -50,7 +50,7 @@ namespace Mono.Debugging.Win32
}
}
if (workError != null)
- throw new Exception ("Debugger operation failed", workError);
+ throw workError;
}
static void MtaRunner ()