Video Lesson: Catch and write errors to a log file in Magento

Catch and write errors to a log file in Magento

Enroll to watch this lesson

Cyber Monday The whole University for $299/yr.

Catch and write errors to a log file in Magento

Learn how to catch exceptions and record errors in log files instead of displaying them to users.


Lesson Content

It’s possible that our repository call can still fail, so let’s wrap this within a try...catch statement. We’ll catch a regular Exception. Since we don’t want errors displayed to the screen on pro...

Premium content

Enroll to unlock the full content and all course materials.

Cyber Monday

The whole University for $299/yr.

Get the deal →
Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Cyber Monday

The whole University for $299/yr.

Every course, Maggie & Campus. The lowest price ever.

Get the deal →
Comments

Join the discussion!

Notes

Keep track of what you learn!