Commit 816f8fe1 authored by Valery Sizov's avatar Valery Sizov

fix rubocop

parent f2b297f0
......@@ -12,7 +12,7 @@ class CanonicalizeKerberosIdentities < ActiveRecord::Migration
default_realm = krb5.get_default_realm
krb5.close # release memory allocated by the krb5 library
default_realm || ''
rescue Exception
rescue StandardError
'' # could not find the system's default realm, maybe there's no Kerberos at all
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment