Adjust expected stacktrace for release build