]> source.dussan.org Git - gitea.git/commit
Log the underlying panic in runMigrateTask (#13096) (#13098)
authorzeripath <art27@cantab.net>
Sun, 11 Oct 2020 18:51:33 +0000 (19:51 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 18:51:33 +0000 (14:51 -0400)
commit2bd7feed37f938d9b9b652f5def2a87965d89f58
tree83db6b8abb887ccaeb3b6381749f0bf54017fb52
parenta0a77c9401c6ba89e9b24b609d455a7ab7303136
Log the underlying panic in runMigrateTask (#13096) (#13098)

Backport #13096

If there is a panic during runMigrateTask we should capture and log the underlying
panic error.

This PR ensures that the panic is logged and captured as part of the task message.

Fix #13095

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/task/migrate.go