Skip to content

Commit

Permalink
fix pylints
Browse files Browse the repository at this point in the history
  • Loading branch information
zrezke committed May 14, 2024
1 parent 0b7c955 commit 956ac4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rerun_py/depthai_viewer/_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Optional

import sentry_sdk

from depthai_viewer import version as depthai_viewer_version
from depthai_viewer._backend.config_api import Action, start_api
from depthai_viewer._backend.device import Device
Expand All @@ -28,7 +29,7 @@
traces_sample_rate=1.0,
release=f"depthai-viewer@{depthai_viewer_version()}",
)
except:
except Exception: # Be generic, a sentry failure should not crash the app
print("Failed to initialize sentry")


Expand Down

0 comments on commit 956ac4d

Please sign in to comment.