I tried to handle all exception in my api with a custom middleware but the application still breaks when I tried to test it by forcing an exception. The application breaks f