Add pattern match to handle server process shutdown. It's very common to see these error happen when we manually setup gRPC server in our test cases. ExUnit gracefully shutdown the applications (for example), thus causing the server processes to exit with :shutdown reason.
Without this handler, a lot of error logs are produced, causing to misleading logs.
Fixes https://github.com/elixir-grpc/grpc/issues/184
Add pattern match to handle server process shutdown. It's very common to see these error happen when we manually setup gRPC server in our test cases. ExUnit gracefully shutdown the applications (for example), thus causing the server processes to exit with
:shutdown
reason.Without this handler, a lot of error logs are produced, causing to misleading logs.