Skip to content

Commit

Permalink
Add debug output of the entire runtime when launching
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bottriell <ryan@bottriell.ca>
  • Loading branch information
rydrman committed Feb 1, 2024
1 parent 4b19d9c commit 2190b10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/spfs-cli/cmd-enter/src/cmd_enter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ impl CmdEnter {

let mut runtime = self.load_runtime(config).await?;

tracing::debug!("entering runtime: {runtime:#?}");

if self.make_durable.enabled {
if runtime.is_durable() {
return Err(spfs::Error::from("runtime is already durable").into());
Expand Down Expand Up @@ -241,6 +243,7 @@ impl CmdEnter {
config: &spfs::Config,
) -> Result<Option<spfs::runtime::OwnedRuntime>> {
let runtime = self.load_runtime(config).await?;
tracing::debug!("entering runtime: {runtime:#?}");
if self.exit.enabled {
todo!()
} else if self.remount.enabled {
Expand Down

0 comments on commit 2190b10

Please sign in to comment.