build(nc-desktop): sentry dsn as env var

This commit is contained in:
pierre
2023-07-21 15:56:08 +02:00
committed by Tommy Verrall
parent 2fe5401a38
commit 03300a859e
+1 -4
View File
@@ -3,6 +3,7 @@
windows_subsystem = "windows"
)]
use std::env;
use std::sync::Arc;
use nym_config::defaults::setup_env;
@@ -27,10 +28,6 @@ mod state;
mod tasks;
mod window;
// TODO DSN shouldn't be hardcoded
const SENTRY_DSN: &str =
"https://68a2c55113ed47aaa30b9899039b0799@o967446.ingest.sentry.io/4505483113594880";
fn main() {
dotenvy::dotenv().ok();
setup_env(None);