Skip to content

Commit

Permalink
fix(smtp-server): reset ansi sequence after logging
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Mar 5, 2024
1 parent 0dc7359 commit 9bf6152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/smtp_server/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def run_event_loop

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
Expand Down

0 comments on commit 9bf6152

Please sign in to comment.