[PR #3621] [MERGED] Don't write to log NoCommitterAccount #17022

Closed
opened 2025-11-02 12:24:27 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3621
Author: @thehowl
Created: 3/3/2018
Status: Merged
Merged: 3/4/2018
Merged by: @lunny

Base: masterHead: ignore-nocommitteraccount


📝 Commits (3)

  • 7e965a2 Don't write to log NoCommitterAccount
  • f42e2d4 ignore err only if it's a ErrUserNotExist
  • 93f37a1 Replace with IsErrUserNotExist

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 models/gpg_key.go (+5 -1)

📄 Description

It's way too verbose, and the information is also printed to the user
already. Fixes #3602.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3621 **Author:** [@thehowl](https://github.com/thehowl) **Created:** 3/3/2018 **Status:** ✅ Merged **Merged:** 3/4/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `ignore-nocommitteraccount` --- ### 📝 Commits (3) - [`7e965a2`](https://github.com/go-gitea/gitea/commit/7e965a2939ce6b19495224e0b607aaf09baa30ef) Don't write to log NoCommitterAccount - [`f42e2d4`](https://github.com/go-gitea/gitea/commit/f42e2d4771b8d158a7dbb8ec5ab34ffa4e7e1893) ignore err only if it's a ErrUserNotExist - [`93f37a1`](https://github.com/go-gitea/gitea/commit/93f37a1fa774600bb3875842c5eb7d18fc976abe) Replace with IsErrUserNotExist ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/gpg_key.go` (+5 -1) </details> ### 📄 Description It's way too verbose, and the information is also printed to the user already. Fixes #3602. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:24:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17022