Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(audit-sweep): batch A — trivial bug-hunt fixes (process.exit, error leaks, missing try/catch) #882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
fix(audit-sweep): batch A — trivial bug-hunt fixes (process.exit, error leaks, missing try/catch) #882
Changes from all commits
48a321c2406cfcFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 133 in src/libs/network/bunServer.ts
This assertion is unnecessary since it does not change the type of the expression.
Check warning on line 83 in src/libs/network/handlers/blockHandlers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 94 in src/libs/network/handlers/blockHandlers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 105 in src/libs/network/handlers/blockHandlers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 136 in src/libs/network/handlers/blockHandlers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 152 in src/libs/network/handlers/blockHandlers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 24 in src/libs/network/handlers/identityHandlers.ts
'error' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 70 in src/libs/network/manageP2P.ts
This assertion is unnecessary since it does not change the type of the expression.
Check failure on line 277 in src/libs/network/middleware/rateLimiter.ts
Refactor this asynchronous operation outside of the constructor.
Check warning on line 28 in src/libs/network/routines/normalizeWebBuffers.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check failure on line 65 in src/libs/network/rpcDispatch.ts
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
Check warning on line 134 in src/libs/network/rpcDispatch.ts
'error' will use Object's default stringification format ('[object Object]') when stringified.
Check failure on line 78 in src/libs/network/server_rpc.ts
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
Check warning on line 99 in src/libs/network/server_rpc.ts
'err' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 249 in src/libs/network/server_rpc.ts
Handle this exception or don't catch it at all.
Check warning on line 254 in src/libs/network/server_rpc.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Check failure on line 787 in src/libs/omniprotocol/transport/PeerConnection.ts
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
Check warning on line 891 in src/libs/omniprotocol/transport/PeerConnection.ts
'error' will use Object's default stringification format ('[object Object]') when stringified.
Check failure on line 271 in src/libs/peer/Peer.ts
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
Check warning on line 385 in src/libs/peer/Peer.ts
'error' will use Object's default stringification format ('[object Object]') when stringified.
Check warning on line 407 in src/libs/peer/Peer.ts
'e' will use Object's default stringification format ('[object Object]') when stringified.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.