How to Handle exceptions in production environment?

34 views
Skip to first unread message

William Méndez

unread,
Dec 9, 2019, 7:50:01 PM12/9/19
to Django REST framework
Hi folks!, I have a question, How to handle exceptions in production mode?.


Greetings.

Roberth Mejias

unread,
Dec 9, 2019, 11:49:43 PM12/9/19
to Django REST framework
Try Sentry

Sam Purtill

unread,
Dec 9, 2019, 11:55:59 PM12/9/19
to django-res...@googlegroups.com
Rollbar is also great!


--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/7dadee7c-d8ed-441c-ae07-9e805d4f6f6b%40googlegroups.com.

José Manuel Valdivia Romero

unread,
Dec 10, 2019, 1:59:42 AM12/10/19
to django-res...@googlegroups.com
Hi William, 

To handle exceptions in production try to use some tool for it. There are a lot of tools like Sentry or some other more advanced like Elastic APM (that wont handle only exceptions but will give you some metrics regarding your application).

Hope this can help,

Best Regards!

José Valdivia 


William Méndez <wmend...@gmail.com> schrieb am Di., 10. Dez. 2019, 01:50:
Hi folks!, I have a question, How to handle exceptions in production mode?.


Greetings.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.

William Méndez

unread,
Dec 10, 2019, 1:03:13 PM12/10/19
to Django REST framework
Hi Guys!, I found this link in case someone needs it in the future is based on the official documentation, basically it was what I needed, thanks for Sentry I will keep it in mind but I wanted to return the exceptions as a response in json format when a validation skips.

Thanks a lot!
Reply all
Reply to author
Forward
0 new messages