Better log canonicalization errors (#32030)

Based on
https://github.com/zed-industries/zed/issues/18673#issuecomment-2933025951

Adds an anyhow error context with the path used for canonicalization
(also, explicitly mention path at the place from the comment).

Release Notes:

- N/A
faa0bb51c9Kirill Bulatov committed on 6/3/2025, 10:30:59 PM· committed by GitHubparent2db2271
2 files changedLine totals unavailable