Skip to content

Commit 2efdd8a

Browse files
committed
:p: Update logging
1 parent 9804552 commit 2efdd8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/script.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ func (s *Script) EnsureEnv(deleteOldEnv bool) error {
3535
case err == nil:
3636
break
3737
case errors.Is(err, ErrNoProcessFound), errors.Is(err, errStaleLockfile):
38+
if flagDebug {
39+
loggerErr.Printf("recreating environment: %s\n", err)
40+
}
3841
// Environment is locked at the moment, but most likely incorrectly.
3942
// Unlock it and recreate the environment
4043
readOperationOnly = false

0 commit comments

Comments
 (0)