diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-13 15:18:55 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-13 15:18:55 +0800 |
commit | 10c236e0b4aaefa2afeb44d38bb01a489bb26b15 (patch) | |
tree | ddeeec460536ad7af32fda7a54b5bf11427cc35e /main.go | |
parent | Log EOF differently from other errors (diff) | |
download | maild-10c236e0b4aaefa2afeb44d38bb01a489bb26b15.tar.gz maild-10c236e0b4aaefa2afeb44d38bb01a489bb26b15.tar.zst maild-10c236e0b4aaefa2afeb44d38bb01a489bb26b15.zip |
Fix config file error message
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ func main() { err := load_config(*config_path) if err != nil { - clog.Fatal(1, "Configuration file not found at "+*config_path) + clog.Fatal(1, "Error while loading configuration file: "+err.Error()) } listener, err := net.Listen(config.MX.Net, config.MX.Addr) |