Skip to content

Commit

Permalink
:p: Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnjack committed Feb 24, 2024
1 parent 9804552 commit 2efdd8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ func (s *Script) EnsureEnv(deleteOldEnv bool) error {
case err == nil:
break
case errors.Is(err, ErrNoProcessFound), errors.Is(err, errStaleLockfile):
if flagDebug {
loggerErr.Printf("recreating environment: %s\n", err)
}
// Environment is locked at the moment, but most likely incorrectly.
// Unlock it and recreate the environment
readOperationOnly = false
Expand Down

0 comments on commit 2efdd8a

Please sign in to comment.