Skip to content

Commit af605ae

Browse files
committed
Spell out InternalServerError
1 parent 5f792f6 commit af605ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/server/src/vss_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fn build_error_response(e: VssError) -> Response<Full<Bytes>> {
162162
};
163163
(status, error)
164164
},
165-
_ => {
165+
VssError::InternalServerError(_) => {
166166
let status = StatusCode::INTERNAL_SERVER_ERROR;
167167
let error = ErrorResponse {
168168
error_code: ErrorCode::InternalServerException.into(),

0 commit comments

Comments
 (0)