If an exception occurs ExceptionHook implementations can decide to reply
with a non-500 status. In this case RestApiServlet sends a non-500
response to the client, but due to a missing else condition we changed
the response to 500 right after. This issue was introduced by change
I0faffdd19. As result of this the client got a 500 ISE, but we didn't
count it as 500 ISE in our metrics.
Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I334a40ae2a4ebd3d27724940cfd1b6fe9a9ce1bd