Audit changes

This commit is contained in:
jdl
2026-06-14 08:57:23 +02:00
parent fa182eca76
commit 164d1f9d95

View File

@@ -13,7 +13,8 @@ func DB(err error) error {
return nil return nil
} }
if _, ok := err.(*Error); ok { var e *Error
if errors.As(err, &e) {
return err return err
} }