Improve traceability for failed attempts of archiving traces

What does this MR do?

Currently, we track Trace#archive! exceptions in ArchiveTracesCronWorker. However, this is only covering a part of exceptions, we should track the native Trace#archive! exceptions instead.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/51502

Close https://gitlab.com/gitlab-org/gitlab-ce/issues/51502

Does this MR meet the acceptance criteria?

Edited by Shinya Maeda

Merge request reports

Loading