Skip to content

Commit

Permalink
exit on empty safebrowsing api key
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-streltsov committed Sep 14, 2024
1 parent c876725 commit 690ab7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func main() {
defer db.Close()

if err := safebrowsing.InitSafeBrowsing(); err != nil {
log.Printf("Error initializing Safe Browsing: %v", err)
log.Fatalf("Error initializing Safe Browsing: %v", err)
}
defer safebrowsing.Close()

Expand Down

0 comments on commit 690ab7e

Please sign in to comment.