Skip to content

在找不到 config/redirects.toml 時顯示友善的提示 #4

@rileychh

Description

@rileychh

目前如果 config/redirects.toml 不存在時會出現以下訊息:

2024/09/16 13:15:54 open config/redirects.toml: no such file or directory
exit status 1

可以加入以下內容,讓訊息更友善:

  • 解釋為什麼需要這個檔案
  • 提供 TOML 格式的說明
  • 連結到 README 的範例

發起錯誤的程式位於 main.go:34

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions