You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement
It's extremely common (nay, the purpose) of core.setFailed to report Errors that are caught during an action. And yet, its method signature does not accept Error instances.
It would be beneficial to accept Error instances instead of requiring users to convert to strings.
Code Snippet
This would be especially beneficial for promise chains:
Describe the enhancement
It's extremely common (nay, the purpose) of
core.setFailed
to report Errors that are caught during an action. And yet, its method signature does not acceptError
instances.It would be beneficial to accept Error instances instead of requiring users to convert to strings.
Code Snippet
This would be especially beneficial for promise chains:
Present behavior:
core.setFailed(Error("foo"))
results in:TypeError: (s || "").replace is not a function
The text was updated successfully, but these errors were encountered: