Don't show error if not on debug mode