feat: fix logging levels (#4314)
https://ruby-doc.org/stdlib-2.7.0/libdoc/logger/rdoc/Logger.html Fixes https://github.com/chatwoot/chatwoot/issues/4313
This commit is contained in:
@@ -48,7 +48,7 @@ class Integrations::Slack::SendOnSlackService < Base::SendOnChannelService
|
||||
post_message if message_content.present?
|
||||
upload_file if message.attachments.any?
|
||||
rescue Slack::Web::Api::Errors::AccountInactive => e
|
||||
Rails.logger.info e
|
||||
Rails.logger.error e
|
||||
hook.authorization_error!
|
||||
hook.disable if hook.enabled?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user