Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6aba57f

Browse files
committed
common: Don't bother logging a useless message
1 parent e360776 commit 6aba57f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

common/postgresql.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,6 @@ func GetAPIKeyUser(key string) (user string, err error) {
19651965
AND api.user_id = users.user_id`
19661966
err = pdb.QueryRow(dbQuery, key).Scan(&user)
19671967
if err != nil {
1968-
log.Printf("Looking up owner for API key '%s' failed: %v\n", SanitiseLogString(key), err)
19691968
return
19701969
}
19711970
return

0 commit comments

Comments
 (0)