You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you receive an HTTP request and log it (e.g. info!(); sending to println!() is fine) before reading the body with get_blob(), logging it to file will have replaced the blob. This happens because we Append to the log file, receiving a Result back from vfs, and hence, replacing our lazy_load_blob with None.
Describe the bug
https://discord.com/channels/1186394868336038080/1306250401451999253
If you receive an HTTP request and log it (e.g.
info!()
; sending toprintln!()
is fine) before reading the body withget_blob()
, logging it to file will have replaced the blob. This happens because weAppend
to the log file, receiving a Result back fromvfs
, and hence, replacing ourlazy_load_blob
withNone
.Code trace:
.append()
call.append()
call does under the hood: Append and handle Response fromvfs
lazy_load_blob
s are thrown out when a new message is receivedExpected behavior
Logging should not alter
lazy_load_blob
.The text was updated successfully, but these errors were encountered: