Skip to content

Rollbar:log() does not deliver content of \PDOException exceptions #491

Open
@djibarian

Description

@djibarian

In the following code

try{
  blah();
}
catch(Exception $e){
  Rollbar::log(Level::ERROR, “this is sent”);
  Rollbar::log(Level::ERROR, $e); /* this is not */
}

the first log is sent to Rollbar, but not the second. I can’t figure out what is wrong there. Removing the catch or throwing inside it does the same, the exception is not sent (intentionally raised by causing a syntax error).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Rank: 3 - MinorTackle when there are no actionable Critical or Major requests.Status: 1 - DiscussionStakeholders are discussing the scope and characteristics of the request.Type: BugFix a component so that its behavior aligns with its documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions