Skip to content

Commit 4f1ed73

Browse files
committed
app names constants
1 parent 3181b06 commit 4f1ed73

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/org/digma/intellij/plugin/ui/jcef/JCefComponent.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,11 @@ private constructor(
181181
try {
182182

183183
if (shouldUpdateEngineStatus()) {
184+
Log.log(logger::trace, "updating digma installation status on connection lost")
184185
val status = service<LocalInstallationFacade>().getCurrentDigmaInstallationStatusOnConnectionLost()
185186
updateDigmaEngineStatus(jbCefBrowser.cefBrowser, status)
187+
}else{
188+
Log.log(logger::trace, "NOT updating digma installation status on connection lost because operation is running by installation wizard")
186189
}
187190

188191
} catch (e: Exception) {
@@ -200,8 +203,11 @@ private constructor(
200203
sendBackendAboutInfo(jbCefBrowser.cefBrowser, project)
201204

202205
if (shouldUpdateEngineStatus()) {
206+
Log.log(logger::trace, "updating digma installation status on connection gained")
203207
val status = service<LocalInstallationFacade>().getCurrentDigmaInstallationStatusOnConnectionGained()
204208
updateDigmaEngineStatus(jbCefBrowser.cefBrowser, status)
209+
}else{
210+
Log.log(logger::trace, "NOT updating digma installation status on connection gained because operation is running by installation wizard")
205211
}
206212
} catch (e: Exception) {
207213
Log.warnWithException(logger, project, e, "error in connectionGained")

0 commit comments

Comments
 (0)