Skip to content

Commit d196a43

Browse files
Move relay to port 5333 to avoid collisions (#1716)
* Move relay to port 5333 to avoid collisions * Ignoring type checking for .last_token because it is present in EnhancedAST... Co-authored-by: Anton Pirker <[email protected]>
1 parent e2674d4 commit d196a43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/init_serverless_sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
def extension_relay_dsn(original_dsn):
2222
dsn = Dsn(original_dsn)
2323
dsn.host = "localhost"
24-
dsn.port = 3000
24+
dsn.port = 5333
2525
dsn.scheme = "http"
2626
return str(dsn)
2727

sentry_sdk/integrations/pure_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def start(n):
116116
return (n.lineno, n.col_offset)
117117

118118
nodes_before_stmt = [
119-
node for node in nodes if start(node) < stmt.last_token.end
119+
node for node in nodes if start(node) < stmt.last_token.end # type: ignore
120120
]
121121
if nodes_before_stmt:
122122
# The position of the last node before or in the statement

0 commit comments

Comments
 (0)