summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/Incoming.cs
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2021-01-22 15:52:34 +0100
committerGitHub <noreply@github.com>2021-01-22 15:52:34 +0100
commit8def9dd2596b5fd296679efb03ad5fc3b97e821a (patch)
tree1ea618aaef5c1f679a9237a4b99ad1ed5668858e /csharp/src/Ice/Incoming.cs
parentUpdate Xcode projects to Xcode 12.0-compatible (diff)
downloadice-3.7.5.tar.bz2
ice-3.7.5.tar.xz
ice-3.7.5.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/Ice/Incoming.cs')
-rw-r--r--csharp/src/Ice/Incoming.cs2
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)