mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 21:06:08 +01:00
fec8324026
* add a new internal hook to save ssh log as title, when a ssh error ocure like #15785. only when switch ``RUN_MODE`` to dev can we found which error is ocure. But this way is not a good idea for production envirment. this changes try save ssh error mesage to the log file like other log by a new internal hook. I think it's usefull for find error message in production envirment. Thanks. Signed-off-by: a1012112796 <1012112796@qq.com> * rename and fix nit * Update modules/private/hook.go Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io> |
||
---|---|---|
.. | ||
admin_auth_ldap_test.go | ||
admin_auth_ldap.go | ||
admin.go | ||
cert.go | ||
cmd.go | ||
convert.go | ||
docs.go | ||
doctor.go | ||
dump_repo.go | ||
dump.go | ||
embedded_stub.go | ||
embedded.go | ||
generate.go | ||
hook.go | ||
keys.go | ||
mailer.go | ||
manager.go | ||
migrate_storage.go | ||
migrate.go | ||
restore_repo.go | ||
serv.go | ||
web_graceful.go | ||
web_letsencrypt.go | ||
web.go |