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

github.com/mono/debugger-libs.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
commit31655aeecc6308b25660246aa4aa3e9d1a82ebc5 (patch)
tree00843e29052849947bd0dd0bf71f115b531601ed /Mono.Debugging.Win32
parent9a22ad5be7270682500e17453e54eac27c8e27ac (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 'Mono.Debugging.Win32')
-rw-r--r--Mono.Debugging.Win32/MtaThread.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Debugging.Win32/MtaThread.cs b/Mono.Debugging.Win32/MtaThread.cs
index 7a0850b..eec4450 100644
--- a/Mono.Debugging.Win32/MtaThread.cs
+++ b/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 ()