Skip to content

Commit

Permalink
Fix plugin update check leading to failure (#228)
Browse files Browse the repository at this point in the history
* Fix plugin update check leading to failure

* .

* lint
  • Loading branch information
aviramha authored Jan 5, 2024
1 parent 25162a8 commit 660e94b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/227.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix plugin update check leading to failure
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,15 @@ class MirrordExecManager(private val service: MirrordProjectService) {
}

MirrordLogger.logger.debug("version check trigger")
service.versionCheck.checkVersion() // TODO makes an HTTP request, move to background
try {
service.versionCheck.checkVersion() // TODO makes an HTTP request, move to background
} catch (e: Throwable) {
MirrordLogger.logger.debug("Failed checking plugin updates", e)
service.notifier.notifySimple(
"Couldn't check for plugin update",
NotificationType.WARNING
)
}

val mirrordApi = service.mirrordApi(projectEnvVars)

Expand Down

0 comments on commit 660e94b

Please sign in to comment.