Render message properly on error