Skip to content

Commit 4710280

Browse files
authored
fix: remove try ... except from appmap.pth
Wrapping `import appmap` in a single line `try ... except` is actually invalid syntax, causing the python runtime to silently ignore it.
1 parent fc85f4c commit 4710280

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

appmap.pth

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# The python runtime suppresses errors from import, but we should fail if something goes wrong.
2-
try: import appmap; except Exception: raise
1+
import appmap

0 commit comments

Comments
 (0)