Report lndhub errors to Sentry
This commit is contained in:
@@ -37,8 +37,8 @@ class Services::LightningController < ApplicationController
|
||||
session[:ln_auth_token] = auth_token
|
||||
@ln_auth_token = auth_token
|
||||
end
|
||||
rescue
|
||||
# TODO add exception tracking
|
||||
rescue => e
|
||||
Sentry.capture_exception(e) if Setting.sentry_enabled?
|
||||
end
|
||||
|
||||
def set_current_section
|
||||
|
||||
Reference in New Issue
Block a user