v0.0.537 fix goext error print always showing error-type of highest-level error
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m12s

This commit is contained in:
Mike Schwörer 2024-10-26 23:38:13 +02:00
parent 9b9a79b4ad
commit 0ddfaf666b
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 4 additions and 4 deletions

View File

@ -160,8 +160,8 @@ func (ee *ExErr) FormatLog(lvl LogPrintLevel) string {
for curr := ee; curr != nil; curr = curr.OriginalError {
indent += " "
etype := ee.Type.Key
if ee.Type == TypeWrap {
etype := curr.Type.Key
if curr.Type == TypeWrap {
etype = "~"
}

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.536"
const GoextVersion = "0.0.537"
const GoextVersionTimestamp = "2024-10-22T09:57:06+0200"
const GoextVersionTimestamp = "2024-10-26T23:38:13+0200"