Skip to content

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