show error to the user instead of console log