diff --git a/src/PollinationSDK/Helper/HandlerChecker.cs b/src/PollinationSDK/Helper/HandlerChecker.cs index 7fba1135..dc9220d5 100644 --- a/src/PollinationSDK/Helper/HandlerChecker.cs +++ b/src/PollinationSDK/Helper/HandlerChecker.cs @@ -33,7 +33,7 @@ public object CheckWithHandlers(object inputData, List handlers) catch (Exception e) { Helper.Logger?.Error(e, $"PollinationSDK: error."); - errors.Add($"Handler-{item.Language}-{item.Function}: {e}"); + errors.Add($"Handler-{item.Language}-{item.Function}: {e?.Message}"); //throw; } }