CodeIgniter Forums

Full Version: Sentry Raven
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just wondering if people have managed to get Sentry error tracking working properly. I have a MY_Log class that works fine but when you turn off errors it turns off the error tracking! 

The code that I have is based on this: just tweaked slightly to use Composer vs directly loading it like they have done.
In order for the server to get error messages, you must install the system agent in your software. Use the SDK, it's specific to each prog language. Most likely, they are not compatible.
Add this code in My_Log.php constructor

 $this->config =& get_config();
 ini_set('display_errors', 1);

its works for me.