We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18bb944 commit 7af0c0cCopy full SHA for 7af0c0c
crates/runtime-config/src/lib.rs
@@ -173,8 +173,7 @@ impl<'a> TomlResolver<'a> {
173
// Prefer explicitly provided state directory, then take from toml.
174
self.state_dir
175
.or_else(from_toml)
176
- .map(PathBuf::from)
177
- .map(std::fs::canonicalize)
+ .map(std::path::absolute)
178
.transpose()
179
}
180
src/bin/spin.rs
@@ -73,7 +73,10 @@ async fn _main() -> anyhow::Result<()> {
73
74
75
76
- SpinApp::from_arg_matches(&matches)?.run(cmd).await
+ SpinApp::from_arg_matches(&matches)?
77
+ .run(cmd)
78
+ .await
79
+ .inspect_err(|err| tracing::debug!(?err))
80
81
82
fn print_error_chain(err: anyhow::Error) {
0 commit comments