Fix API response decoding -- sometimes it's an err

The reqwest might work, but the API still returns an error message.
I forgot about this old hack I had left around because I'm a big dummy.
This commit is contained in:
2025-05-31 22:46:54 -05:00
parent 8ab1f77b0e
commit ee42e09620
2 changed files with 14 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ pub enum Error {
WrappedReqwestErr(reqwest::Error),
MissingAuthToken,
NoSuchFile, // for release attachment 'file exists' pre-check.
ApiErrorMessage(ApiError),
}
impl From<reqwest::Error> for crate::Error {