Adding Kerberos dependency, use an OR operator instead of a ternary for uncaught exceptions