Why isn't Rollbar catching my exceptions in my Django/Python app? -


technologies , applications used: rollbar, django 1.7, python 3.4

so, i'm following official documentation found here integrating rollbar python , django based application: https://github.com/rollbar/pyrollbar. includes: pip installing rollbar, adding middleware class , creating rollbar dictionary configuration in settings file, etc.

just test things out added example provided in docs 1 of views, , rollbar/django works fine (i.e. rollbar registers exception , exception sent rollbar account in cloud):

try:     main_app_loop() except ioerror:     rollbar.report_message('got ioerror in main loop', 'warning') except:    # catch-all    rollbar.report_exc_info() 

but, example, in 1 of template files misspell block tag , error via django's default error logging system. however, rollbar doesn't record error and/or isn't sent rollbar account in cloud. because rollbar has integrated manually via kind of try, catch scenario? or can rollbar grab errors default without having write try, catch?

there no other documentation kind find integrating rollbar django project other found on above link, i'm not sure next. else run or know issue might be?


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -