Skip to content

Commit

Permalink
Fix CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
david-perez committed Mar 31, 2023
1 parent bcf2eec commit 13175d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class ServerHttpBoundProtocolTraitImplGenerator(
}
rustTemplate(
"""
let http_status: u16 = status.try_into().map_err(|_| #{ResponseRejection}::InvalidHttpStatusCode)?;
let http_status: u16 = status.try_into().map_err(|e| #{ResponseRejection}::InvalidHttpStatusCode(e))?;
builder = builder.status(http_status);
""",
*codegenScope,
Expand Down

0 comments on commit 13175d8

Please sign in to comment.