Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rewrite absolute paths in log messages #187

Merged
merged 10 commits into from
Mar 26, 2024
Merged

Conversation

rvanasa
Copy link
Collaborator

@rvanasa rvanasa commented Mar 26, 2024

This PR patches what might be considered a bug with ic-canister-log which occurs when creating log messages from external crates. When calling from an external crate, log messages may include absolute file paths from the machine that built the Wasm file. We fix this by truncating unknown file paths.

Corresponding MR: !18445.

Note that the CI for this PR depends on !18445 being merged.

@rvanasa rvanasa merged commit 220b3f9 into main Mar 26, 2024
3 checks passed
@rvanasa rvanasa deleted the evm-rpc/patch-log-buffer branch May 22, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant