BPS-574, logged error stack trace