Skip to content

Commit eeaa9c8

Browse files
author
lif
committed
Add output test for propolis-server
1 parent 13bde6d commit eeaa9c8

5 files changed

+4497
-4
lines changed

progenitor-impl/src/method.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -891,10 +891,10 @@ impl Generator {
891891
}
892892
}
893893
OperationResponseType::Upgrade => {
894-
quote! {
895-
Err(Error::ErrorResponse(
896-
ResponseValue::upgrade(response).await?
897-
))
894+
if response.status_code == OperationResponseStatus::Default {
895+
return quote! { } // catch-all handled below
896+
} else {
897+
todo!("non-default error response handling for upgrade requests is not yet implemented");
898898
}
899899
}
900900
};

0 commit comments

Comments
 (0)