Saturday, August 29, 2020

Re: 500 Server Error | Impossible to Fix

Hi King Niko,

On 29/08/2020 20.31, King Niko wrote:
>
> Both of these errors are very vague and provide no direction for
> resolution. Has anyone ever encountered this before?
>

I don't know anything about deploying on Heroku, but as others have
pointed out, you should definitely look into how to get some more
detailed log information:

https://docs.djangoproject.com/en/3.1/topics/logging/

I've personal set up my logging so I get an email with detailed
information in case of an internal server error. That works quite well
for my use case, but yours might be very different.

There's no reason wasting time trying to guess what is wrong, you want
to be able to get hold of the detailed error information sooner or later
anyway so start by figuring out how you can do that as the very first thing.

Kind regards,

Kasper Laudrup

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/840b420f-9457-f173-87e7-bad43b3b4d92%40stacktrace.dk.

No comments:

Post a Comment