This commit is contained in:
ghy
2025-09-10 16:07:01 +08:00
committed by GitHub
parent f33aba8938
commit 68adf92897

View File

@@ -5,7 +5,10 @@ export class InvalidTcpDataReceptionException extends RuntimeException {
const errMsgStr = const errMsgStr =
typeof err === 'string' typeof err === 'string'
? err ? err
: err && typeof err === 'object' && 'message' in err && typeof (err as any).message === 'string' : err &&
typeof err === 'object' &&
'message' in err &&
typeof (err as any).message === 'string'
? (err as any).message ? (err as any).message
: String(err); : String(err);
const _errMsg = errMsgStr.includes('Corrupted length value') const _errMsg = errMsgStr.includes('Corrupted length value')