unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a17872fb56cde87bc34a244a920d01d9399c7b1e 1239 bytes (raw)
name: gnu/packages/patches/dbxfs-remove-sentry-sdk.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
diff --git a/dbxfs/main.py b/dbxfs/main.py
index 5a6cea1..fb9bb1f 100755
--- a/dbxfs/main.py
+++ b/dbxfs/main.py
@@ -40,8 +40,6 @@ import userspacefs
 import keyring
 from keyring.errors import KeyringError
 
-import sentry_sdk
-
 from block_tracing import block_tracing, BLOCK_TRACING_INHERITS
 
 from dbxfs.dbxfs import FileSystem as DropboxFileSystem
@@ -315,14 +313,6 @@ def _main(argv=None):
 
     log.info("Starting %s...", APP_NAME)
 
-    if config.get('send_error_reports', False):
-        try:
-            sentry_sdk.init("https://b4b13ebd300849bd92260507a594e618@sentry.io/1293235",
-                            release='%s@%s' % (APP_NAME, version),
-                            with_locals=False)
-        except Exception:
-            log.warning("Failed to initialize sentry", exc_info=True)
-
     if cache_folder is None:
         cache_folder = os.path.join(appdirs.user_cache_dir(APP_NAME), "file_cache")
         try:
diff --git a/setup.py b/setup.py
index 89e25c6..f940d47 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,6 @@ setup(
         "privy>=6.0,<7",
         "keyring>=15.1.0",
         "keyrings.alt>=3.1,<4",
-        "sentry_sdk>=0.3,<1",
     ],
     extras_require={
         'safefs': ["safefs"],

debug log:

solving a17872fb56 ...
found a17872fb56 in https://yhetil.org/guix-patches/20200813165306.11564-2-efraim@flashner.co.il/

applying [1/1] https://yhetil.org/guix-patches/20200813165306.11564-2-efraim@flashner.co.il/
diff --git a/gnu/packages/patches/dbxfs-remove-sentry-sdk.patch b/gnu/packages/patches/dbxfs-remove-sentry-sdk.patch
new file mode 100644
index 0000000000..a17872fb56

1:14: trailing whitespace.
 
1:18: trailing whitespace.
 
1:21: trailing whitespace.
 
1:23: trailing whitespace.
 
Checking patch gnu/packages/patches/dbxfs-remove-sentry-sdk.patch...
Applied patch gnu/packages/patches/dbxfs-remove-sentry-sdk.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 a17872fb56cde87bc34a244a920d01d9399c7b1e	gnu/packages/patches/dbxfs-remove-sentry-sdk.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).