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

Clear up a bunch of error handling code #209

Merged

Conversation

illicitonion
Copy link
Collaborator

  • Have log.Fatal shutdown the server before terminating the process.
  • Use structured logging rather than panicing on gRPC error.
  • Don't double-shut-down gRPC connection from the Java side.
  • Give a nice user-facing error if one directory declares multiple Java packages.

* Have `log.Fatal` shutdown the server before terminating the process.
* Use structured logging rather than panicing on gRPC error.
* Don't double-shut-down gRPC connection from the Java side.
* Give a nice user-facing error if one directory declares multiple Java
  packages.
@illicitonion illicitonion merged commit d324a71 into bazel-contrib:main Sep 14, 2023
2 checks passed
@illicitonion illicitonion deleted the multiple-packages-in-dir branch September 14, 2023 15:47
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