mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
response.body is sometimes too strange to be parse by JSON
This commit is contained in:
parent
7fb15d204c
commit
b8bd70e57b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module GrapeLogging
|
|||
class Response < GrapeLogging::Loggers::Base
|
||||
def parameters(request, response)
|
||||
{
|
||||
response: response.body.map{ |body| JSON.parse(body) }
|
||||
response: response.body
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue