add missing arg to UnexpectedStatusCode
This commit is contained in:
parent
2f60a92933
commit
2859fd132e
|
@ -540,7 +540,7 @@ fn create_method_response(
|
||||||
out.push_str(handler);
|
out.push_str(handler);
|
||||||
out.push_str(",\n");
|
out.push_str(",\n");
|
||||||
}
|
}
|
||||||
out.push_str("_ => Err(ForgejoError::UnexpectedStatusCode)\n");
|
out.push_str("_ => Err(ForgejoError::UnexpectedStatusCode(response.status()))\n");
|
||||||
out.push_str("}\n");
|
out.push_str("}\n");
|
||||||
|
|
||||||
Ok(out)
|
Ok(out)
|
||||||
|
|
Loading…
Reference in a new issue