fix: preserve known connection loss errors
This commit is contained in:
1 parent
718ffde871
commit
099ed62609
2 files changed
+44
No files matched your search
@@ -7,11 +7,22 @@ const CONNECTION_ERROR_PATTERNS = [
|
||||
"connection not found",
|
||||
"connection config not found",
|
||||
"not connected",
|
||||
"closed the connection",
|
||||
"broken pipe",
|
||||
"reset by peer",
|
||||
"socket closed",
|
||||
"unexpected eof",
|
||||
"end-of-file",
|
||||
"end-of-file on communication channel",
|
||||
"server closed session",
|
||||
"communicating with the server",
|
||||
"exceeded maximum idle time",
|
||||
"agent stdin not available",
|
||||
"agent stdout not available",
|
||||
"failed to write to agent stdin",
|
||||
"failed to flush agent stdin",
|
||||
"关闭的连接",
|
||||
"连接已关闭",
|
||||
"i/o error",
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user