From 236a7d973e03229acce0028d1befd618f618f6f5 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Sun, 25 Jun 2023 15:59:03 +0200 Subject: [PATCH] include the error code in the error message inside the match_provider_response Error branch --- src/macros/filesystem_side.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros/filesystem_side.rs b/src/macros/filesystem_side.rs index bead641..41f7f31 100644 --- a/src/macros/filesystem_side.rs +++ b/src/macros/filesystem_side.rs @@ -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; }