feat(nc-desktop): add sentry to backend (#3652)

This commit is contained in:
Pierre Dommerc
2023-07-20 13:17:49 +02:00
committed by Tommy Verrall
parent a1a2f37fce
commit 7d6d8669b0
2 changed files with 15 additions and 0 deletions
+11
View File
@@ -2596,6 +2596,17 @@ dependencies = [
"winapi",
]
[[package]]
name = "hostname"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867"
dependencies = [
"libc",
"match_cfg",
"winapi",
]
[[package]]
name = "html5ever"
version = "0.25.2"
@@ -27,6 +27,10 @@ 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);