mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
ensure rollbar required with sidekiq
This commit is contained in:
1 parent
784665b549
commit
7f97bfb3bd
1 file changed
+2
@@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'rollbar' if ENV.key?('ROLLBAR_ACCESS_TOKEN')
|
||||
|
||||
if defined?(Rollbar)
|
||||
Rollbar.configure do |config|
|
||||
config.access_token = ENV.fetch('ROLLBAR_ACCESS_TOKEN', nil)
|
||||
|
||||
Reference in new issue
Block a user