lundi 2 janvier 2017

limit the number of stack trace lines when exception is generated in rails

Is there a way i can control the number of stack trace lines generated when a exception scenario happen in a rails application.

The reason for this is i need the stack trace but not all the lines and other reason my log file grows to a huge amount after a while.

Any help would be appreciated. Thanks.

Aucun commentaire:

Enregistrer un commentaire