Skip to content

fix: Return empty string when token refresh fails - #263

Merged
laurawarr merged 1 commit into
mainfrom
refresh-error
Aug 21, 2023
Merged

fix: Return empty string when token refresh fails#263
laurawarr merged 1 commit into
mainfrom
refresh-error

Conversation

@laurawarr

Copy link
Copy Markdown
Contributor

Currently an error will be thrown if token refresh fails, even if the command does not require auth. If token refresh fails, log the error message but return an empty string as the token — the default "auth required" message will be displayed if necessary

@laurawarr
laurawarr requested a review from a team August 18, 2023 16:48
@laurawarr
laurawarr merged commit 9f65204 into main Aug 21, 2023
@laurawarr
laurawarr deleted the refresh-error branch August 21, 2023 14:31
jonathannorris added a commit that referenced this pull request Jul 27, 2026
- fast-uri 3.1.2 -> 3.1.4 (high, alerts #275/#277)
- sharp 0.34.5 -> 0.35.0 (high, alert #276)
- @hono/node-server 1.19.13 -> 2.0.5 (medium, alert #274)
- shell-quote 1.8.4 -> 1.9.0 (high, alert #273)
- sigstore 1.9.0 -> 4.1.1 (high, alert #263)
jonathannorris added a commit that referenced this pull request Jul 27, 2026
* chore: resolve open dependabot security alerts

- fast-uri 3.1.2 -> 3.1.4 (high, alerts #275/#277)
- sharp 0.34.5 -> 0.35.0 (high, alert #276)
- @hono/node-server 1.19.13 -> 2.0.5 (medium, alert #274)
- shell-quote 1.8.4 -> 1.9.0 (high, alert #273)
- sigstore 1.9.0 -> 4.1.1 (high, alert #263)

* chore: revert sharp bump due to new LGPL-licensed libvips artifact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants