gitea/cmd
zeripath 3aa5749d53
Disable doctor logging on panic (#20847)
* Disable doctor logging on panic

If permissions are incorrect for writing to the doctor log simply disable the log file
instead of panicing.

Related #20570

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update cmd/doctor.go

* Update cmd/doctor.go

Co-authored-by: delvh <dev.lh@web.de>

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-08-18 21:27:27 -04:00
..
admin_auth_ldap_test.go
admin_auth_ldap.go
admin.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
cert.go
cmd.go
convert.go
docs.go
doctor.go Disable doctor logging on panic (#20847) 2022-08-18 21:27:27 -04:00
dump_repo.go
dump.go Add Tar ZSTD support (#20493) 2022-07-27 07:16:28 +01:00
embedded_stub.go
embedded.go
generate.go
hook_test.go
hook.go
keys.go
mailer.go
main_test.go Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
manager_logging.go
manager.go
migrate_storage_test.go Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
migrate_storage.go Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
migrate.go
restore_repo.go
serv.go
web_acme.go
web_graceful.go
web_https.go
web.go Improve pprof doc (#20463) 2022-07-24 01:33:55 +08:00