mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-03 15:07:24 +08:00

Backport #29407 by @silverwind - `e.error` can be undefined in some cases which would raise an error inside this error handler, fixed that. - The displayed message mentions looking into the console, but in my case of error from `ResizeObserver` there was nothing there, so add this logging. I think this logging was once there but got lost during refactoring. Co-authored-by: silverwind <me@silverwind.io>