Unsuccessfull http response logger

[debug/Unsuccessfull http response logger]


Logs received 4xx and 5xx responses with a custom message.


Keywords: http, api, error, logger

Input ports

  • response:

    {"status": number, "headers": {string: string}, "body": string}

    Receives request dispatcher response. Example: { "status": 200, "headers": {}, "body": "OK" }

  • message: string

    Receives additional log message. Example: "unsuccessfull call"

Last updated