Last active
August 29, 2015 14:10
-
-
Save davidalexander/01db2efc727c6714e70d to your computer and use it in GitHub Desktop.
trigger magento 500 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Trigger 500 response | |
// allows styling of "There has been an error processing your request" page | |
// note setIsDeveloperModes should be false to prevent xxception being thrown | |
throw new Exception('you shall not pass'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment