Change the error string in test not logged in sentry