QueryRow().Scan() returns error if row doesn't exist
Simply check for the error you don't want to log before logging:
var name string
row := db.Con().QueryRow("SELECT name FROM users WHERE id = 2;")
err := row.Scan(&name)
if err != nil && err != sql.ErrNoRows {
// log the error
}