Exception was bundled in the innerexception and thus the catch statement was not functioning as expected. Additionally adding ? operator to the ApplicationExitEvent ServerStartedEvent events.
Exception was bundled in the innerexception and thus the catch statement was not functioning as expected. Additionally adding ? operator to the ApplicationExitEvent ServerStartedEvent events.