diff options
author | Benoit Foucher <benoit@zeroc.com> | 2021-01-22 15:52:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 15:52:34 +0100 |
commit | 8def9dd2596b5fd296679efb03ad5fc3b97e821a (patch) | |
tree | 1ea618aaef5c1f679a9237a4b99ad1ed5668858e /csharp/src | |
parent | Update Xcode projects to Xcode 12.0-compatible (diff) | |
download | ice-8def9dd2596b5fd296679efb03ad5fc3b97e821a.tar.bz2 ice-8def9dd2596b5fd296679efb03ad5fc3b97e821a.tar.xz ice-8def9dd2596b5fd296679efb03ad5fc3b97e821a.zip |
Fixed dispatch code to report the original dispatch exception (#1253)v3.7.5-rc2v3.7.5-rc1v3.7.5
Diffstat (limited to 'csharp/src')
-rw-r--r-- | csharp/src/Ice/Incoming.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp/src/Ice/Incoming.cs b/csharp/src/Ice/Incoming.cs index c467f67c349..c0a4a49f030 100644 --- a/csharp/src/Ice/Incoming.cs +++ b/csharp/src/Ice/Incoming.cs @@ -20,6 +20,7 @@ namespace IceInternal using System.IO; using System.Globalization; using System.Threading.Tasks; + using System.Runtime.ExceptionServices; public class Incoming : Ice.Request { @@ -635,6 +636,7 @@ namespace IceInternal try { + ExceptionDispatchInfo.Capture(exc).Throw(); throw exc; } catch(Ice.RequestFailedException ex) |