From d38dd68d05d28f4f55a89b7ab89d1824557a22cc Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 21 Jul 2020 15:55:03 +0800 Subject: [PATCH] DEV: Fix lint. --- lib/unicorn_logstash_patch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/unicorn_logstash_patch.rb b/lib/unicorn_logstash_patch.rb index e6f931a832d..7a23fc8096e 100644 --- a/lib/unicorn_logstash_patch.rb +++ b/lib/unicorn_logstash_patch.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # See https://github.com/defunkt/unicorn/commit/5f478f5a9a58f72c0a844258b8ee614bf24ea9f7 # Unicorn originally logs backtrace line by line with `exc.backtrace.each { |line| logger.error(line) }`. # However, that means we get a separate logstash message for each backtrace which isn't what we want. The