mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
fix(smtp-server): reset ansi sequence after logging
This commit is contained in:
@@ -207,7 +207,7 @@ module SMTPServer
|
||||
|
||||
result = [result] unless result.is_a?(Array)
|
||||
result.compact.each do |iline|
|
||||
client.logger&.debug "\e[34m=> #{iline.strip}"
|
||||
client.logger&.debug "\e[34m=> #{iline.strip}\e[0m"
|
||||
begin
|
||||
io.write(iline.to_s + "\r\n")
|
||||
io.flush
|
||||
|
||||
Reference in New Issue
Block a user