add error to test sentry context