You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IOS build process it happens that a request is made to our Sentry server, and if Sentry server is temporary down (in our case it happens often), an error throws:
-error: API request failed
caused by: sentry reported an error: gateway timeout (http status: 504)
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
OS:
Platform:
SDK:
@sentry/react-native
(>= 2.4.0)react-native-sentry
(<= 0.43.2)SDK version: 2.4.0
react-native
version: 0.63.4Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
(
@sentry/react-native
)I have following issue:
In IOS build process it happens that a request is made to our Sentry server, and if Sentry server is temporary down (in our case it happens often), an error throws:
-error: API request failed caused by: sentry reported an error: gateway timeout (http status: 504) Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
I would like to allow CLI failure because it currently makes CI/CD pipeline to fail.
In @sentry/webpack-plugin there is an option to override default error handler and allow CLI failure, is there a similar option in
@sentry/react-native
as well?* source: https://github.com/getsentry/sentry-webpack-plugin#options (errorHandler)
Steps to reproduce:
Sentry.init(..)
Actual result:
Build fails because Sentry server isn't responsive.
Expected result:
Allow CLI failures as in case when there are issues connecting to Sentry server (5xx error)
The text was updated successfully, but these errors were encountered: