From 10c236e0b4aaefa2afeb44d38bb01a489bb26b15 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 13 Jan 2025 15:18:55 +0800 Subject: Fix config file error message --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index c3a2e16..4a4f242 100644 --- a/main.go +++ b/main.go @@ -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) -- cgit v1.2.3