s3 backups: handle CompleteMultipartUpload and AbortMultipartUpload on the panel

This commit is contained in:
Matthew Penner
2020-12-06 13:56:17 -07:00
parent 83f0d2c953
commit ee08829a28
6 changed files with 56 additions and 85 deletions

View File

@@ -95,7 +95,7 @@ func getErrorStack(err error, i bool) errors.StackTrace {
// The errors.WrapIf did not return a interface compatible with `tracer`, so
// we don't have an easy way to get the stacktrace, this should probably be changed
// at some point, but without this the application may panic when handling some errors.
return nil
return errors.WithStack(err).(tracer).StackTrace()
}
return getErrorStack(errors.WithMessage(err, err.Error()), true)