From e24a3603acfe2807eaba51d829123b17d89187fb Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 2 Dec 2021 11:53:13 -0500 Subject: [PATCH] feat: add log message when running state is false Without this, its not clear why we are releasing an app when calling `ps:start` or `ps:restore`. --- plugins/ps/ps.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ps/ps.go b/plugins/ps/ps.go index 0c7287f5c..bc9f7569c 100644 --- a/plugins/ps/ps.go +++ b/plugins/ps/ps.go @@ -135,6 +135,8 @@ func Start(appName string) error { if runningState == "mixed" { common.LogWarn("App is running in mixed mode, releasing") + } else if runningState == "false" { + common.LogWarn("App has been detected as not running, releasing") } if runningState != "true" {