Ok, so I discovered after searching through lots of code that the problem 
occurs  because I haven't run compilemessages, so Django was trying to 
format an error message that accepted parameters.

On Friday, 2 September 2016 11:06:58 UTC-4, Stodge wrote:
>
> I'm getting an exception during a TastyPie request for one of my 
> resources. The exception is:
>
> Error: not all arguments converted during string formatting
>
> I know what causes the exception, but I have no idea where it is 
> happening, as there is no trackback or indication of which module or 
> function it occurs in. I'm 99% sure the exception is occurring in my code, 
> not TastyPie of Django. I just have no idea how to find out where it's 
> happening. I've tried adding a custom middleware that displays an 
> exception, but Django doesn't catch this one, so it never logs anything.
>
> Any ideas how to get Django to log all exception, even uncaught ones?
>
> Thanks!!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d296a8c5-7ebb-427c-bf62-5873774ce326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to