code cleanup

This commit is contained in:
stefanodvx 2025-04-24 12:20:35 +02:00
parent 917be1687f
commit 5336968e05
34 changed files with 193 additions and 115 deletions

View file

@ -85,7 +85,7 @@ func EscapeCaption(str string) string {
}
func GetLastError(err error) error {
var lastErr error = err
var lastErr = err
for {
unwrapped := errors.Unwrap(lastErr)
if unwrapped == nil {