Skip to content

Commit

Permalink
Updates c# code sample (#1285)
Browse files Browse the repository at this point in the history
Fixes #1249.
  • Loading branch information
dakota002 authored Aug 24, 2023
1 parent feedbcd commit 704738b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/components/ClientSampleCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 704738b

Please sign in to comment.