CodeIgniter Forums
Sentry Raven - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Sentry Raven (/showthread.php?tid=72785)



Sentry Raven - purpleprawn - 02-11-2019

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: https://gist.github.com/755/3930723 just tweaked slightly to use Composer vs directly loading it like they have done.


RE: Sentry Raven - Gezerw - 02-22-2019

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.


RE: Sentry Raven - shexidev - 02-22-2021

Add this code in My_Log.php constructor


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


its works for me.