• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sentry Raven

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.

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.
Work out!

Add this code in My_Log.php constructor

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

its works for me.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.