NoMethodError: undefined method 'each' in ResponseLogger
requested to merge 389205-nomethoderror-undefined-method-each-for-string-0x00007f527b3edf58-in-responselogger into master
What does this MR do and why?
The ResponseLogger does not handle String response objects. This case only seems to happen when returning errors such as in https://sentry.gitlab.net/gitlab/gitlabcom/issues/4102929/ and https://sentry.gitlab.net/gitlab/gitlabcom/issues/4086378/?referrer=gitlab_plugin.
This MR handles the response when it's of type String.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #389205 (closed)
Edited by Michael Kozono