when using "handler.reject(error);" in onError of interceptors, I cannot DioException in .catchError(), but find it in .then(). #2274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish from comments | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
publish: | |
# https://github.com/cfug/dio/issues/1633 | |
if: github.event.issue.number == 1633 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.CFUG_PUBLISHER }} | |
- uses: dart-lang/setup-dart@v1.4 | |
- uses: cfug/dio_issue_release_action@v2 | |
with: | |
github-token: ${{ secrets.CFUG_PUBLISHER }} | |
pub-credentials-json: ${{ secrets.CREDENTIAL_JSON }} |