Skip to content

error handling & parser logs #2

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

Merged
merged 4 commits into from
May 30, 2025
Merged

error handling & parser logs #2

merged 4 commits into from
May 30, 2025

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 30, 2025

No description provided.

@Emyrk Emyrk changed the title error handling error handling & parser logs May 30, 2025
// ParserLogs are trivy logs that occur during parsing the
// Terraform files. This is useful for debugging issues with the
// invalid terraform syntax.
ParserLogs string `json:"parser_logs,omitempty"`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now the logs are just like:

"parser_logs":"time=2025-05-30T15:33:21.176-05:00 level=DEBUG msg=\"Setting project/module root\

We could have it json formatted if this is an issue

@brettkolodny brettkolodny merged commit 2afd2a5 into main May 30, 2025
@brettkolodny brettkolodny deleted the stevenmasley/errors branch May 30, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants