OS:
Platform:
SDK:
SDK version: 1.3.7
react-native version: 0.62.2
Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
Sentry.init({
dsn:
'https://35bd841fc5e54281a9d0f29f0f789835@o194093.ingest.sentry.io/1297731',
environment: appDevMode() ? 'pre-production' : 'production',
maxValueLength: 5000,
maxBreadcrumbs: 100
});
I have the following issue:
On build the project using a customized staging flavor, after I migrated react-native to 62.2, it is failing with the following error log:
DEBUG 2020-04-16 13:06:20.119466 -03:00 sentry-cli version: 1.52.1, platform: "darwin", architecture: "x86_64"
INFO 2020-04-16 13:06:20.120082 -03:00 sentry-cli was invoked with the following command line: "/Users/iagor/Desktop/projects/company/rn-59/node_modules/@sentry/cli/sentry-cli" "react-native" "gradle" "--bundle" "/Users/iagor/Desktop/projects/company/rn-59/android/app/build/generated/assets/react/prodMinSdkProdKernel/pre/index.android.bundle" "--sourcemap" "/Users/iagor/Desktop/projects/company/rn-59/android/app/build/generated/sourcemaps/react/prodMinSdkProdKernel/pre/index.android.bundle.map" "--release" "com.company.company.pre@1.3.1-pre+2097407" "--dist" "2097407"
INFO 2020-04-16 13:06:20.120629 -03:00 Issuing a command for Organization: company Project: company
INFO 2020-04-16 13:06:20.120671 -03:00 bundle path: /Users/iagor/Desktop/projects/company/rn-59/android/app/build/generated/assets/react/prodMinSdkProdKernel/pre/index.android.bundle
INFO 2020-04-16 13:06:20.120680 -03:00 sourcemap path: /Users/iagor/Desktop/projects/company/rn-59/android/app/build/generated/sourcemaps/react/prodMinSdkProdKernel/pre/index.android.bundle.map
DEBUG 2020-04-16 13:06:20.120797 -03:00 Non-file bundle found
DEBUG 2020-04-16 13:06:20.120964 -03:00 error: running update nagger
DEBUG 2020-04-16 13:06:20.120983 -03:00 skipping update nagger because session is not attended
error: No such file or directory (os error 2)
DEBUG 2020-04-16 13:06:20.121611 -03:00 client close; no transport to shut down (from sentry)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleProdMinSdkProdKernelPreJsAndAssets_SentryUpload'.
> Process 'command '/Users/iagor/Desktop/projects/company/rn-59/node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1
Steps to reproduce:
- call react-native run-android --variant prodMinSdkProdKernelPre --appIdSuffix 'pre' (take into account it is a customized flavor)
Actual result:
It fails the build as it can't find the map file.
Expected result:
The Sentry task uploads the source map and finishes build successfully.
OS:
Platform:
SDK:
@sentry/react-nativereact-native-sentrySDK version: 1.3.7
react-nativeversion: 0.62.2Are you using Expo?
Are you using sentry.io or on-premise?
Configuration:
I have the following issue:
On build the project using a customized staging flavor, after I migrated react-native to 62.2, it is failing with the following error log:
Steps to reproduce:
Actual result:
It fails the build as it can't find the map file.
Expected result:
The Sentry task uploads the source map and finishes build successfully.