Skip to content

Commit 6f03e89

Browse files
committed
Changed TOOBIG error message
1 parent 1b700fd commit 6f03e89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imap-core/lib/imap-command.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ class IMAPCommand {
156156
}
157157

158158
this.connection?.loggelf({
159-
short_message: `[TOOBIG] ${errorMessage}`,
159+
short_message: `[TOOBIG] Literal too large`,
160160
_error: 'toobig',
161+
_error_response: `${this.tag} NO [TOOBIG] ${errorMessage}`,
161162
_service: 'imap',
162163
_command: this.command,
163164
_payload: this.payload ? (this.payload.length < 256 ? this.payload : this.payload.toString().substring(0, 256) + '...') : command.value,

0 commit comments

Comments
 (0)