Actually I was missing something :blush: . You have to use the `hasServiceContainer()` check inside the `try` block