Remove the default sentry endpoint.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-04-13 07:27:48 +00:00
parent edb245a2ba
commit 79268bda1e
2 changed files with 3 additions and 5 deletions

View file

@ -1626,7 +1626,7 @@ pub struct Config {
/// Sentry reporting URL, if a custom one is desired.
///
/// display: sensitive
/// default: "https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536"
/// default: ""
#[serde(default = "default_sentry_endpoint")]
pub sentry_endpoint: Option<Url>,
@ -2197,9 +2197,7 @@ fn default_url_preview_max_spider_size() -> usize {
fn default_new_user_displayname_suffix() -> String { "🏳️‍⚧️".to_owned() }
fn default_sentry_endpoint() -> Option<Url> {
Url::parse("https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536").ok()
}
fn default_sentry_endpoint() -> Option<Url> { None }
fn default_sentry_traces_sample_rate() -> f32 { 0.15 }