Skip to content

Commit 84cb8c7

Browse files
authored
Merge pull request #102 from jrobotham-square/jrobotham/20250429/better-logs-when-hermit-not-activated
chore: include extra diagnostics when hermit decides not to activate
2 parents 34865f9 + 0e1c3f1 commit 84cb8c7

File tree

1 file changed

+2
-1
lines changed
  • src/main/kotlin/com/squareup/cash/hermit

1 file changed

+2
-1
lines changed

src/main/kotlin/com/squareup/cash/hermit/Hermit.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import com.intellij.openapi.diagnostic.Logger
88
import com.intellij.openapi.extensions.ExtensionPointName
99
import com.intellij.openapi.progress.ProgressManager
1010
import com.intellij.openapi.project.Project
11+
import com.intellij.openapi.project.guessProjectDir
1112
import com.intellij.openapi.wm.WindowManager
1213
import com.intellij.openapi.wm.impl.status.widget.StatusBarWidgetsManager
1314
import com.intellij.util.ThreeState
@@ -96,7 +97,7 @@ object Hermit {
9697
}
9798
}
9899
} else {
99-
log.info(project.name + ": no hermit detected for " + project.name)
100+
log.info(project.name + ": no hermit detected for " + project.name + " (hermit not found in bin directory under " + project.guessProjectDir()?.path + ")")
100101
setStatus(HermitStatus.Disabled)
101102
}
102103
this.refreshUI()

0 commit comments

Comments
 (0)