Skip to Content

Contributors

Re: suggestion for monitoring error 500

> It is a bit of a catchall... Would anybody have any suggestion, to monitor

> such error, and possibly get an email, or a warning as a system

> administrator? Is there a way to catch at odoo level, if there is such

> error and send an email ?

all requests go through
https://github.com/OCA/OCB/blob/16.0/odoo/addons/base/models/ir_http.py#L153
so that seems the best place to catch your exception


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

by Holger Brunn - 07:56 - 1 May 2023

Reference

  • suggestion for monitoring error 500
    Hi,

    We have a case where odoo is used as an e-commerce + portal system (with quite a lot of customisation).
    Times to times, the end user (e-commerce customer) will receive an error 500.

    It is a bit of a catchall... Would anybody have any suggestion, to monitor such error, and possibly get an email, or a warning as a system administrator? Is there a way to catch at odoo level, if there is such error and send an email ?
    Or could we "monitor" the log file ? <-- any suggestion on possible tool ?

    Thanks,
    Dominique

    by dominique.k - 07:21 - 1 May 2023