6b98033d91
As described in https://github.com/aserafin/grape_logging/issues/45, if a Grape error is caught by the handlers and a different return code is returned, then the api_json.log would have a 500 error code instead of the right value. Inserting the GrapeLogging middleware after the Grape middleware fixes this problem. Seen in https://gitlab.com/gitlab-com/infrastructure/issues/4249
5 lines
111 B
YAML
5 lines
111 B
YAML
---
|
|
title: Fix api_json.log not always reporting the right HTTP status code
|
|
merge_request:
|
|
author:
|
|
type: fixed
|