Log error when "Internal Server Error" page is shown