Skip to content

Commit

Permalink
chore: debug database error
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed Oct 26, 2023
1 parent 7c887ce commit 51bd04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion offline.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (od *OfflineDatabase) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// not a hash, hash it now
hash = sha1.Sum([]byte(pw))
}

od.logger.Sugar().Infof("using database file at %p", od.file)
od.logger.Sugar().Infof("checking password: %s", hex.EncodeToString(hash[:]))
frequency, err := od.Pwned(hash)
if err != nil {
Expand Down

0 comments on commit 51bd04c

Please sign in to comment.