This repository was archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Jan 9, 2024. It is now read-only.
sentry.properties not found #43
Copy link
Copy link
Open
Description
Hi,
After passing the --reachable flag to snyk-monitor, it looks sentry properties file. Since there's not such a file under the path, it throws the following error:
SubprocessError: The command "'/Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/gradlew' printClasspath -I /usr/local/lib/node_modules/snyk/node_modules/@snyk/java-call-graph-builder/bin/init.gradle -q -p /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/app" exited with code 1, Standard Error Output: /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/sentry.properties (No such file or directory), /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/sentry.properties (No such file or directory), /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/sentry.properties (No such file or directory), /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/sentry.properties (No such file or directory), /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android/sentry.properties (No such file or directory)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/snyk/node_modules/@snyk/java-call-graph-builder/lib/sub-process.ts:56:21)
at ChildProcess.emit (events.js:321:20)
at maybeClose (internal/child_process.js:1026:16)
at Socket.<anonymous> (internal/child_process.js:441:11)
at Socket.emit (events.js:321:20)
at Pipe.<anonymous> (net.js:668:12)
Error:
Monitoring /Users/iosbuild/builds/2TzqHy4i/0/varo-bank/mobile/android/varo-bank-android...
In the build.gradle.kts file we have the following lines related to the sentry:
plugins {
id("com.android.application")
id("kotlin-android")
...
id("io.sentry.android.gradle")
id("de.mannodermaus.android-junit5")
jacoco
sentry {
// Disables or enables the automatic configuration of ProGuard
// for Sentry. This injects a default config for ProGuard so
// you don't need to do it manually.
autoProguardConfig = true
// Enables or disables the automatic upload of mapping files
// during a build. If you disable this, you'll need to manually
// upload the mapping files with sentry-cli when you do a release.
autoUpload = true
// Disables or enables the automatic configuration of Native Symbols
// for Sentry. This executes sentry-cli automatically so
// you don't need to do it manually.
// Default is disabled.
uploadNativeSymbols = true
// Does or doesn't include the source code of native code for Sentry.
// This executes sentry-cli with the --include-sources param. automatically so
// you don't need to do it manually.
// Default is disabled.
includeNativeSources = false
}
Metadata
Metadata
Assignees
Labels
No labels