Skip to content

Commit

Permalink
Log client startup errors
Browse files Browse the repository at this point in the history
  • Loading branch information
the-maldridge committed Mar 21, 2021
1 parent 0eef9f2 commit 287056d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func main() {

nacl, err := netauth.NewWithLog(appLogger.Named("netauth"))
if err != nil {
appLogger.Error("Error initializing client", "error", err)
os.Exit(2)
}

Expand Down

0 comments on commit 287056d

Please sign in to comment.