The stack trace should be printed to Logger