summaryrefslogtreecommitdiff
path: root/csharp/src/IceBox/ServiceManagerI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/IceBox/ServiceManagerI.cs')
-rw-r--r--csharp/src/IceBox/ServiceManagerI.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/csharp/src/IceBox/ServiceManagerI.cs b/csharp/src/IceBox/ServiceManagerI.cs
index 68b47540f31..bd0ef6e72ff 100644
--- a/csharp/src/IceBox/ServiceManagerI.cs
+++ b/csharp/src/IceBox/ServiceManagerI.cs
@@ -492,8 +492,10 @@ class ServiceManagerI : ServiceManagerDisp_
}
catch(Exception)
{
- throw ex;
- }
+#pragma warning disable CA2200 // Rethrow to preserve stack details
+ throw ex;
+#pragma warning restore CA2200 // Rethrow to preserve stack details
+ }
}
}
catch(Exception ex)