Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@
value = "$(USER)"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "--dsn"
value = ""
isEnabled = "NO">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
<ProfileAction
Expand Down
2 changes: 1 addition & 1 deletion EmpowerPlant/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
let enableSwizzling = !ProcessInfo.processInfo.arguments.contains("--disable-swizzling")

SentrySDK.start { options in
options.dsn = "https://[email protected]/1"
options.dsn = ProcessInfo.processInfo.environment["--dsn"] ?? "https://[email protected]/1"

// set the SDK debug mode according to defaults and overrides.
#if DEBUG
Expand Down
Loading