We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60ca3b commit 0f6eb2fCopy full SHA for 0f6eb2f
1 file changed
src/nix/main.cc
@@ -388,8 +388,11 @@ void mainWrapped(int argc, char ** argv)
388
389
if (!sentryEndpoint && getEnv("DETSYS_IDS_TELEMETRY") != "disabled") {
390
try {
391
- sentryEndpoint = trim(readFile(settings.nixConfDir / "sentry-endpoint"));
+ auto p = settings.nixConfDir / "sentry-endpoint";
392
+ if (pathExists(p))
393
+ sentryEndpoint = trim(readFile(p));
394
} catch (...) {
395
+ ignoreExceptionExceptInterrupt();
396
}
397
398
0 commit comments