diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 10:36:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-18 12:47:23 +0200 |
commit | 834b3d7e41d42a97df58804e3e6ed4d5ed596efc (patch) | |
tree | 0693f0b6a35fda7e168627d6360b51e2041fd4f2 /main.go | |
parent | 1155bbca9d4cdf42e9b4a2d0351fd5be0aa8ec08 (diff) | |
download | hugo-834b3d7e41d42a97df58804e3e6ed4d5ed596efc.tar.gz hugo-834b3d7e41d42a97df58804e3e6ed4d5ed596efc.zip |
Fix some recently introduced error handling issues
Updates #10953
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,8 +21,9 @@ import ( ) func main() { + log.SetFlags(0) err := commands.Execute(os.Args[1:]) if err != nil { - log.Fatal(err) + log.Fatalf("Error: %s", err) } } |