Re: Write debug error to file

2009-11-27 Thread Gabriel Rossetti
No, I thought that was just for administrative stuff. I'll give that a try, thanks! Gabriel akonsu wrote: > hello, > > if you set the admin email address and the necessary email parameters > in your config file then django will send an email with all the > details to the admin when an exception

Re: Write debug error to file

2009-11-27 Thread Gabriel Rossetti
Cool, I'll have a look, I was looking for something like that for when my site is in production, thanks! Gabriel Andy McKay wrote: > You should take a look at Arecibo which has been used by a few > Facebook apps for that very readson. It has full Django libraries and > if you don't use it a

Re: Write debug error to file

2009-11-26 Thread akonsu
hello, if you set the admin email address and the necessary email parameters in your config file then django will send an email with all the details to the admin when an exception is thrown. would this be sufficient? konstantin On Nov 26, 11:15 am, Gabriel Rossetti wrote: > Hello everyone, > >

Re: Write debug error to file

2009-11-26 Thread Andy McKay
You should take a look at Arecibo which has been used by a few Facebook apps for that very readson. It has full Django libraries and if you don't use it a full example of how to use middleware to process an error. http://areciboapp.com -- Andy McKay www.clearwind.ca On 2009-11-26, at

Write debug error to file

2009-11-26 Thread Gabriel Rossetti
Hello everyone, I'd like to write the django error page (when debug == true) to a file and return a page with that link instead of the actual page. The reason I'd like to do this is to be able to debug a facebook app because fb seams to filter/block the error page. Does anyone know how to do th