         (bootstrap-and-validate-shutdown
           [test-service]
           shutdown-called?
-          #"java.lang.Throwable")
+          #"oops")
         (is (logged? #"shutdown-on-error triggered because of exception!"
                      :error)
             "Error message for shutdown-on-error not logged."))))

        (bootstrap-and-validate-shutdown
          [test-service]
          shutdown-called?
          #"java.lang.Throwable")
        (is (logged? #"Error during service init!!!" :error)
            "Error message for service init not logged."))))


        (bootstrap-and-validate-shutdown
          [test-service]
          shutdown-called?
          #"oops")
        (is (logged? #"shutdown-on-error triggered because of exception!"
                     :error)
            "Error message for shutdown-on-error not logged."))))
