How do you find the error message based on the identifier?

You got a notification about error that occurred on a production environment. The merchant gave you the error identifier.
How do you find the error message based on the identifier?
A. An error is written to the var/log/exception.log file including the identifier
B. The error is sent to the pre-configured error email with the identifier in the subject
C. A file with a name matching the identifier is written to the var/report folder
D. An error message is written to the database table error_log with an error_id field matching the identifier

Download Printable PDF. VALID exam to help you PASS.

5 thoughts on “How do you find the error message based on the identifier?

  1. Answer: C

    See Magento error reports in the var/log folder.

    Generally, you can see 2 files there: system.log and exception.log. system.log Magento 2 runs in the production mode (not developer mode) then it does not show the actual error message on the screen, but shows a generic message: There has been an error processing your request and creates a detailed error report in the var/reports folder. You can find the error report file there by its report ID which is shown on the screen.

  2. Correct answer C. Errors reported with identifier can be found in var/report as the error id as the filename

  3. Yeah there is no such functionality for emailing error reports and even if there was. It would still be better to search the var/report folder

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.