Find raw PDOException and use it's message, the SQL is rendered in bluescreen panel