mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-26 16:03:16 +00:00
fix: preserve known connection loss errors
This commit is contained in:
@@ -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