show error when raise exception