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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user