Skip to content

Commit 54579c5

Browse files
committed
Remove logging to Honeybadger every time connecting to provider is unsuccessful
1 parent 4e093f2 commit 54579c5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dashboard/app/controllers/omniauth_callbacks_controller.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,6 @@ def can_connect_provider?
316316

317317
def get_connect_provider_errors(auth_option)
318318
errors = auth_option.errors.full_messages
319-
Honeybadger.notify(
320-
error_message: "Error connecting to provider",
321-
context: {
322-
authentication_option: auth_option,
323-
errors: errors
324-
}
325-
)
326319

327320
return errors.first unless errors.empty?
328321
I18n.t('auth.unable_to_connect_provider', provider: I18n.t("auth.#{auth_option.credential_type}"))

0 commit comments

Comments
 (0)