Initially, I had the same problem as this closed issue. I left a few comments there before I realized it was closed, so let me summarize here:
It seems like XtensaRust::get_latest_version() is failing. However, this line seems to delete errors received from XtensaRust::get_latest_version() and return Error::GithubTokenInvalid instead (a bit misleading, since GithubTokenInvalid is also returned later in the file for an explicit authorization error). Because the original errors are suppressed, it's difficult for me to give you exactly what's going wrong, but I believe I've tracked it down to the function github_query by observing which log::debug! statements are printed before the program exits.
So, I guess this error is two-fold:
- Is there a way to uncover the real error and work around it?
- Is it possible to provide a more informative error message on the above line? I'd be willing to help out as well.
Thanks for anything that might help!
Best,
Will
Initially, I had the same problem as this closed issue. I left a few comments there before I realized it was closed, so let me summarize here:
It seems like
XtensaRust::get_latest_version()is failing. However, this line seems to delete errors received fromXtensaRust::get_latest_version()and returnError::GithubTokenInvalidinstead (a bit misleading, sinceGithubTokenInvalidis also returned later in the file for an explicit authorization error). Because the original errors are suppressed, it's difficult for me to give you exactly what's going wrong, but I believe I've tracked it down to the functiongithub_queryby observing whichlog::debug!statements are printed before the program exits.So, I guess this error is two-fold:
Thanks for anything that might help!
Best,
Will