From 704738b1a92cfa9a29f5a274aa2b43a4f9e5ed5f Mon Sep 17 00:00:00 2001 From: Dakota Dutko Date: Thu, 24 Aug 2023 15:18:10 -0400 Subject: [PATCH] Updates c# code sample (#1285) Fixes #1249. --- app/components/ClientSampleCode.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/components/ClientSampleCode.tsx b/app/components/ClientSampleCode.tsx index 66494b076..15cedc755 100644 --- a/app/components/ClientSampleCode.tsx +++ b/app/components/ClientSampleCode.tsx @@ -475,7 +475,11 @@ export function ClientSampleCode({ } catch (Exception ex) { - if (!ex.Message.Contains("Subscribed topic not available")) + if (ex.Message.Contains("Subscribed topic not available")) + { + Console.WriteLine(ex.Message); + } + else { throw; }