Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw{} and error{} are not clearly displayed in the logs when running #824

Open
e-gineer opened this issue Apr 3, 2024 · 1 comment
Open
Labels
enhancement New feature or request stale

Comments

@e-gineer
Copy link
Contributor

e-gineer commented Apr 3, 2024

I'm trying to use throw { ... } and error { ... } inside a step (combined with for_each).

It's difficult to debug what's happening right now though - the logs show me very little information about these decisions and don't reference those block names at all. For example, this is what I get from a throw:

[parallel_approval.approve[0]] User Defined: Approval failed
[parallel_approval.approve[0]] Failed 8s

Can we expand the output here to help connect it back? For example:

  • Include the word "throw" or "error" in the output
  • Explain how the decision was made / the outcome, including the message.
  • Be clear on whether they were executed (or not), particularly in verbose mode
@e-gineer e-gineer added the enhancement New feature or request label Apr 3, 2024
Copy link

github-actions bot commented Jun 3, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant