Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better log message when Woodpecker token is wrong #12

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

jeromerobert
Copy link
Contributor

Before:
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) }

Now:
Cannot decode JSON from http://localhost:80/api/queue/info: b"User not authorized"

Before:
Error: reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) }

Now:
Cannot decode JSON from http://localhost:80/api/queue/info: b"User not authorized"
@windsource
Copy link
Owner

LGTM 👍

@windsource windsource merged commit a60f364 into windsource:main Jul 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants