include the error code in the error message inside the match_provider_response Error branch

This commit is contained in:
OMGeeky
2023-06-25 15:59:03 +02:00
parent e9793bf188
commit 236a7d973e

View File

@@ -4,7 +4,7 @@ macro_rules! match_provider_response {
match $response {
$target => $target_body,
ProviderResponse::Error(e, code) => {
error!("received ProviderResponse::Error: {}", e);
error!("received ProviderResponse::Error: ({}) {}", code, e);
$reply.error(code);
return;
}