Skip to content

Commit

Permalink
backend: Fix error log on DB connection
Browse files Browse the repository at this point in the history
This patch fixes the error log on DB connection,
     previously the error was unreadable.

     Signed-off-by: Santhosh Nagaraj S <[email protected]>
  • Loading branch information
yolossn committed Feb 21, 2022
1 parent 878e082 commit 32d259a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/cmd/nebraska/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
// create new DB
db, err := db.New()
if err != nil {
log.Fatalf("Api err: %w\n", err)
log.Fatal("DB connection err:", err)
}

// setup logger
Expand Down

0 comments on commit 32d259a

Please sign in to comment.