From 07b2ca5b61492e98124d8cbaf15590a69d9cc62f Mon Sep 17 00:00:00 2001 From: Armen Zambrano G Date: Fri, 11 Mar 2022 16:00:34 -0500 Subject: [PATCH] fix(dev): Fix regression: line 37: SENTRY_CLI_NO_EXIT_TRAP: unbound variable It seems I didn't undo this change and got introduced in #32524 --- scripts/lib.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib.sh b/scripts/lib.sh index d0b55e65dd3f62..9e796b5a99e095 100755 --- a/scripts/lib.sh +++ b/scripts/lib.sh @@ -24,7 +24,10 @@ require() { } configure-sentry-cli() { - # SENTRY_DSN is currently exported in .envrc + # XXX: For version 1.70.1 there's a bug hitting SENTRY_CLI_NO_EXIT_TRAP: unbound variable + # We can remove this after it's fixed + # https://github.com/getsentry/sentry-cli/pull/1059 + export SENTRY_CLI_NO_EXIT_TRAP=${SENTRY_CLI_NO_EXIT_TRAP-0} if [ -n "${SENTRY_DSN+x}" ] && [ -z "${SENTRY_DEVENV_NO_REPORT+x}" ]; then if ! require sentry-cli; then curl -sL https://sentry.io/get-cli/ | bash