-
Notifications
You must be signed in to change notification settings - Fork 431
feat(updater): improve tracing and error logging #2513
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
Conversation
Package Changes Through 50fba89There are 6 changes which include clipboard-manager with patch, clipboard-manager-js with patch, log with minor, log-js with minor, updater with patch, updater-js with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
.map_err(Into::into) | ||
{ | ||
Ok(release) => { | ||
println!("parsed release response {release:?}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be log::debug
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhh
log::error!( | ||
"update endpoint did not respond with a successful status code" | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this case missing a last_error
?
Users are reporting that 400 errors are shown as "invalid json", even though the response should be hitting this success status check, and the body is still a valid json string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like it
No description provided.