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

feat: make api-linter more debuggable #1086

Closed
shwoodard opened this issue Feb 9, 2023 · 1 comment · Fixed by #1087 or #1088
Closed

feat: make api-linter more debuggable #1086

shwoodard opened this issue Feb 9, 2023 · 1 comment · Fixed by #1087 or #1088

Comments

@shwoodard
Copy link
Collaborator

$ api-linter service.proto
2023/02/08 19:10:09 runtime error: index out of range [1] with length 1

Very hard to debug!

Make it easier.

shwoodard added a commit to shwoodard/api-linter that referenced this issue Feb 9, 2023
Adds a debug flag to the cli and passes it to lint.Linter. If enabled,
when a panic is recoverd, the stack will be printed by the runtime/debug
package.

Closes googleapis#1086
toumorokoshi pushed a commit that referenced this issue Feb 9, 2023
Adds a debug flag to the cli and passes it to lint.Linter. If enabled,
when a panic is recoverd, the stack will be printed by the runtime/debug
package.

Closes #1086
@shwoodard
Copy link
Collaborator Author

Needs tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant