mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
95e9e913bf
Summary: We didn't print underlying causes of insertion failure. The reason we didn't was because ``` let s = format!("failed to insert {}", err); ``` used `{}`, and in order to print caused we need either `{:#}` or {:?}` - see https://docs.rs/anyhow/1.0.42/anyhow/struct.Error.html#display-representations. However krallin suggested that we can achieve the same by by converting the error to SharedError instead of stringifying it. Let's do that instead. Reviewed By: krallin Differential Revision: D29985083 fbshipit-source-id: 8ae3abcfc4db9ef62581a3e20462eb6bbfb401b6 |
||
---|---|---|
.. | ||
fs | ||
hg-server | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |