diff --git a/aspnetcore/signalr/hub-filters.md b/aspnetcore/signalr/hub-filters.md index c39f8e8f05..59364ce521 100644 --- a/aspnetcore/signalr/hub-filters.md +++ b/aspnetcore/signalr/hub-filters.md @@ -83,8 +83,8 @@ public class CustomFilter : IHubFilter } catch (Exception ex) { - Console.WriteLine($"Exception calling '{invocationContext.HubMethodName}'"); - throw ex; + Console.WriteLine($"Exception calling '{invocationContext.HubMethodName}': {ex}"); + throw; } }