AbsaOSS / AbsaOSS/enceladus

MenasKerberosAuthentication.scala spnego fillter error log doesn't properly log a stack trace

Open
#1,793 0 comments 0 reactions 0 assignees View on GitHub
bug priority: undecided
Dominant language
Scala
Stars
33
Forks
16
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
In file [MenasKerberosAuthentication.scala](https://github.com/AbsaOSS/enceladus/blob/develop/menas/src/main/scala/za/co/absa/enceladus/menas/auth/kerberos/MenasKerberosAuthentication.scala) on line [147](https://github.com/AbsaOSS/enceladus/blob/develop/menas/src/main/scala/za/co/absa/enceladus/menas/auth/kerberos/MenasKerberosAuthentication.scala#L147) we improperly log the stack trace and it ends up looking like `[Ljava.lang.StackTraceElement;@42a00c4e`

## Expected behaviour
I would expect something like
```scala
logger.error("There was an error logging in using SPNEGO", exception)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.