Skip to content

Commit

Permalink
fix(HandlerChecker): only show the error's message
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed May 19, 2023
1 parent 73c6b5c commit d538cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PollinationSDK/Helper/HandlerChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public object CheckWithHandlers(object inputData, List<IOAliasHandler> 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;
}
}
Expand Down

0 comments on commit d538cbc

Please sign in to comment.