]> source.dussan.org Git - gitea.git/commit
Fix incorrect error logging in Stats indexer and OAuth2 (#12387) (#12422)
authortechknowlogick <techknowlogick@gitea.io>
Tue, 4 Aug 2020 08:27:43 +0000 (04:27 -0400)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 08:27:43 +0000 (16:27 +0800)
commit6015d30dd615c70234cd4a4a9f6775966bf84b3a
treee5beb3fc261e750005374e30c27446c4284cc573
parentb1cfb0d7a2cc65c42152b7ad8019819b6502dd36
Fix incorrect error logging in Stats indexer and OAuth2 (#12387) (#12422)

* Fix incorrect logging in oauth2.go

Fix #11945

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Handle ErrAlreadyInQueue in stats indexer

Fix #12380

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fixes type in error message of indexer

Add the missing character in the error message.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lieven Hollevoet <hollie@lika.be>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lieven Hollevoet <hollie@lika.be>
modules/auth/sso/oauth2.go
modules/indexer/stats/queue.go