Confusing error output when config parse fails #240

Closed
opened 2023-06-14 15:30:03 +00:00 by thezzisu · 1 comment
thezzisu commented 2023-06-14 15:30:03 +00:00 (Migrated from gitea.com)

Linked issue: https://github.com/go-gitea/gitea/pull/25256

When provider bad-formatted config files, the error output may be confusing. In the example below, the config file is a empty file, and the output will cause people trying to debug their network connections.

image

Linked issue: https://github.com/go-gitea/gitea/pull/25256 When provider bad-formatted config files, the error output may be confusing. In the example below, the config file is a empty file, and the output will cause people trying to debug their network connections. ![image](/attachments/9628eedb-ba78-4dfa-8161-f7608cdd6d6f)
thezzisu commented 2023-06-14 15:31:20 +00:00 (Migrated from gitea.com)

I think just have a Failed to parse config file output would resolve this issue. I could make a pr to address that.

I think just have a `Failed to parse config file` output would resolve this issue. I could make a pr to address that.
Sign in to join this conversation.