Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Aug 7, 2023
1 parent 86b452a commit 2c3677a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/session/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "zenoh-pico/api/types.h"
#include "zenoh-pico/collections/bytes.h"
#include "zenoh-pico/protocol/core.h"
#include "zenoh-pico/protocol/definitions/declarations.h"
#include "zenoh-pico/protocol/definitions/message.h"
#include "zenoh-pico/protocol/definitions/network.h"
#include "zenoh-pico/protocol/keyexpr.h"
Expand Down Expand Up @@ -130,7 +131,7 @@ int8_t _z_handle_zenoh_message(_z_session_t *zn, _z_zenoh_message_t *msg, uint16
// @TODO: expose errors to the user
_z_msg_err_t error = response._body._err;
_z_bytes_t payload = error._ext_value.payload;
_Z_ERROR("Received Err for query %d: code=%d, message=%.*s\n", response._request_id, error.code,
_Z_ERROR("Received Err for query %d: code=%d, message=%.*s\n", response._request_id, error._code,
payload.len, payload.start);
} break;
case _Z_RESPONSE_BODY_ACK: {
Expand Down

0 comments on commit 2c3677a

Please sign in to comment.