Activity Forums Salesforce® Discussions Get Error information without UI in Salesforce

  • Ajay Prakash

    January 10, 2018 at 3:10 pm

    Hi Abhishek,

    To see the error occurred in the catch block there can be two option-

    1. You can create a Outbound Email service in the catch block and send the error message in the email.
    2. You can create a custom object (Ex. Error Log) with text area fields and create a record from the catch block in this object. In this way you can read the error message from the created record.


Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos