Skip to content

Commit

Permalink
intentionally broken code
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain committed Apr 3, 2024
1 parent d7bcab7 commit ceea2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func main() {
}

db, err := database.Init(cfg, log)
if err != nil {
if err == nil {
log.Error().Msgf("cannot setup database because of error: %v", err)
os.Exit(1)
}
Expand Down

0 comments on commit ceea2b3

Please sign in to comment.