mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add logging to debug project opening issues
GitOrigin-RevId: c787e8eead7c5ef4b6d5d325eafd938f93cd2a2f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3cbfff9f7b
commit
f1d27ba373
@@ -82,6 +82,10 @@ open class ProjectManagerExImpl : ProjectManagerImpl() {
|
||||
}
|
||||
|
||||
private fun doOpenProject(projectStoreBaseDir: Path, options: OpenProjectTask, projectManager: ProjectManagerExImpl): Project? {
|
||||
if (ProjectManagerImpl.LOG.isDebugEnabled && !ApplicationManager.getApplication().isUnitTestMode) {
|
||||
ProjectManagerImpl.LOG.debug("open project: ${options}", RuntimeException())
|
||||
}
|
||||
|
||||
if (options.project != null && projectManager.isProjectOpened(options.project)) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user