Skip to content

Commit

Permalink
fix(client): correct close code for Bad Gateway reason (#512)
Browse files Browse the repository at this point in the history
Co-authored-by: Erica Pramer <erica.pramer@carvana.com>
Co-authored-by: Denis Badurina <badurinadenis@gmail.com>
  • Loading branch information
3 people authored Oct 19, 2023
1 parent ac329e5 commit 0438650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ function isFatalInternalCloseCode(code: number): boolean {
1005, // No Status Received
1012, // Service Restart
1013, // Try Again Later
1013, // Bad Gateway
1014, // Bad Gateway
].includes(code)
)
return false;
Expand Down

0 comments on commit 0438650

Please sign in to comment.