mirror of
https://github.com/OMGeeky/drive_syncer.git
synced 2025-12-30 16:33:26 +01:00
include the error code in the error message inside the match_provider_response Error branch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user