Skip to content

Commit 4fc5460

Browse files
committed
Log termination errors
1 parent b240a84 commit 4fc5460

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/runmqserver/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ func doMain() error {
6666
}
6767
err = createDirStructure()
6868
if err != nil {
69+
logTermination(err)
6970
return err
7071
}
7172

7273
err = postInit(name)
7374
if err != nil {
75+
logTermination(err)
7476
return err
7577
}
7678

0 commit comments

Comments
 (0)