Skip to content

fix(inspector-proxy): prevent crash on malformed debugger messages#3

Open
mhdamirhamza wants to merge 1 commit into
mainfrom
mhdamirhamza-patch-3
Open

fix(inspector-proxy): prevent crash on malformed debugger messages#3
mhdamirhamza wants to merge 1 commit into
mainfrom
mhdamirhamza-patch-3

Conversation

@mhdamirhamza

Copy link
Copy Markdown
Owner

Added try-catch block for JSON.parse in handleDebuggerConnection to prevent the proxy from crashing when receiving invalid JSON messages from the debugger.

Added try-catch block for JSON.parse in handleDebuggerConnection to prevent the proxy from crashing when receiving invalid JSON messages from the debugger.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant