add opt-in sentry logging, improve main function

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-30 22:06:18 -04:00
1 parent 93b03fe338
commit 87a7c8d9e8
5 files changed
+544 -205

No files matched your search

+5
View File
@@ -232,6 +232,11 @@ pub struct Config {
#[serde(default)]
pub block_non_admin_invites: bool,
#[serde(default)]
pub sentry: bool,
#[serde(default)]
pub sentry_send_server_name: bool,
#[serde(flatten)]
#[allow(clippy::zero_sized_map_values)] // this is a catchall, the map shouldn't be zero at runtime
pub catchall: BTreeMap<String, IgnoredAny>,