Skip to content

Instantly share code, notes, and snippets.

@thedrint
Created August 11, 2017 20:18
Show Gist options
  • Save thedrint/69deee06a90a9be6fcd98fd0ca446475 to your computer and use it in GitHub Desktop.
Save thedrint/69deee06a90a9be6fcd98fd0ca446475 to your computer and use it in GitHub Desktop.
Default bitrix errors handling settings
'exception_handling' => array (
'value' => array (
'debug' => false,
'handled_errors_types' => E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE,
'exception_errors_types' => E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_USER_WARNING & ~E_USER_NOTICE & ~E_COMPILE_WARNING & ~E_DEPRECATED,
'ignore_silence' => false,
'assertion_throws_exception' => true,
'assertion_error_type' => 256,
'log' => array (
'settings' => array (
'file' => 'bitrix/modules/error.log',
'log_size' => 1000000,
),
),
),
'readonly' => false,
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment