[ckan-dev] Using sentry with ckan

Samuele Santi samuele.santi at trentorise.eu
Mon Feb 17 13:05:53 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was trying to use sentry (https://getsentry.com/) to get monitoring
of exceptions on ckan; I set up raven following the standard
configuration for pylons
http://raven.readthedocs.org/en/latest/config/pylons.html but with no
effect; it looks like exceptions get caught before reaching the raven
middleware.

And even the logging-based error reporting seems to have some problem,
although it works fine if I try logging something right after setting
up the sentry client..

Is anybody else using sentry with ckan / managed to figure out how to
make it work?

Right now, I'm going to try writing a IMiddleware plugin to add the
middleware earlier, hoping to be able to catch exceptions, but I
wanted to see if anybody else already faced (and maybe solved) the issue..


Cheers,

- -- 
Samuele Santi

Trento Rise
http://www.trentorise.eu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTAgkxAAoJEGgM+6dff2m7BkkP/0EiFXueFxzp1oZuEzbRi4oM
ThTmRcdCUXDKnNNRGkbk6m1dpRhB3NylzlYVMYCfSTVdfME0/duVOIewNYEH2gBw
Y4f5xCl0Iv+Bmy/HXnuJjTTptWzl73q5oGiIXhy5HXZCFn/oNdGT5sSfBp2I1fWN
pWmyKkx+5VUrfnWLx9v4lUPe3ia8utLt5BpLeINGhQKVkP+dxcLghQ5U5l06kLMj
yCXch1kSiI61pUo2oYyoGkvx4KdgHl0iBA5QiZMkNYmc8+10NGCGCSQakcxu3de2
K74Eog+XWZEMvE+jIOeR5ktE9vFVq+IeWOEcvQmUN/LIgojWaUPd52mjZJ1xJU8+
4QzMD5xFerHNN/VEAP+kGi5vWNNT6NdD297bGqEaeuEf0LmMMxGSX/xwYvAMTBNh
XPWDhLHQA2xUCKlBOAyOaLRCsP9ZF6zll/4VMwwKLlHBgZotN+1eVe6U/PHbbsbc
wOotIeA/paS0218vGBkfpYEG87mvsle4vvsycn7axQBbME/JBy5+rP0lBYekLcwy
y2G+YQHcLpXfm7+r8ceFrNV7J7roVI4g7VJMZdeFlQ6DHZ2z1pqVHwqAP9scFj9A
GLyiHX9j+dz2ispTdq+wqTRTlGzTWjS9VwBdC6WFRTGkAprolm3tKO7Emt6IuJBT
SkDmVVH4zKs+pGDASrDL
=eMZO
-----END PGP SIGNATURE-----



More information about the ckan-dev mailing list