https://kotlinlang.org logo
#koin
Title
# koin
t

Tmpod

10/30/2023, 8:49 PM
Hello! I was looking around the documentation for an answer, but couldn't quite find anything satisfactory, so came here to ask instead 🙂 How should you handle exceptions inside bean definitions (like singletons and factories)? At the moment I'm just letting them error out and produce an absurd amount of stack traces, which is obviously not good at all. My use-case is defining database connections. Should I be doing those some other way? Thank you!
a

arnaud.giuliani

10/31/2023, 6:59 AM
you mean you have exception via Koin due to DB initialization problem?