diff --git a/src/com/koxudaxi/pydantic/PydanticInitializer.kt b/src/com/koxudaxi/pydantic/PydanticInitializer.kt index a5de61ba..057843db 100644 --- a/src/com/koxudaxi/pydantic/PydanticInitializer.kt +++ b/src/com/koxudaxi/pydantic/PydanticInitializer.kt @@ -64,7 +64,7 @@ class PydanticInitializer : StartupActivity { .filter { try { ProjectFileIndex.getInstance(project).isInContent(it) - } catch (e: AlreadyDisposedException) { + } catch (e:Exception) { false } }