Why is this special cased? It seems out of place. You also swallowing the stack trace which could be useful for debugging.