Skip to content

Engine 7.2 doesn't output exception data in logs #2055

Description

@baszoetekouw

Engine 7.2 gives these logging for exceptions:

{
  "channel": "app",
  "level": "ERROR",
  "message": "Unsolicited assertion (no InResponseTo in message) not supported! | -> Redirecting to feedback page",
  "context": {
    "exception": {
      "sessionId": null,
      "userId": null,
      "spEntityId": null,
      "idpEntityId": null,
      "description": null
    }
  },
  "extra": {
    "request_id": "6a55f259a43ed",
    "correlation_id": null,
    "session_id": "304905bd128077afbd307c908636dcea"
  }
}

note that the exception field has the wrong (and empty) contents.

whereas Engineblock 7.1 would give:

{
  "channel": "app",
  "level": "ERROR",
  "message": "Unsolicited assertion (no InResponseTo in message) not supported! | Caught Unhandled EngineBlock_Exception",
  "context": {
    "exception": {
      "class": "EngineBlock_Corto_Module_Bindings_Exception",
      "message": "Unsolicited assertion (no InResponseTo in message) not supported!",
      "code": 0,
      "file": "/var/www/html/library/EngineBlock/Corto/Module/Bindings.php:338"
    }
  },
  "extra": {
    "session_id": "d7dfccd9fd705f5fe22a5059cb5e40ed",
    "request_id": "6a55f4c19ef29"
  }
}

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

Status
Delivered

Relationships

None yet

Development

No branches or pull requests

Issue actions