Skip to content

Commit

Permalink
- updated the else if
Browse files Browse the repository at this point in the history
  • Loading branch information
prajwalvathreya committed Sep 9, 2024
1 parent 4291459 commit 8e04095
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ func main() {
if maxprocsError != nil {
log.Error(maxprocsError, "Failed to set GOMAXPROCS")
os.Exit(1)
} else if err := handle(ctx); err != nil {
}

if err := handle(ctx); err != nil {
log.Error(err, "Fatal error")
os.Exit(1)
}
Expand Down

0 comments on commit 8e04095

Please sign in to comment.