Project

General

Profile

Actions

Bug #7808

open

HTTP 500 is not always emailed?

Added by Jakub Judiny 23 days ago. Updated 23 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
Start date:
11/29/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

During testing, I got HTTP 500 at around 12:35 (November 29) at https://mentat-dev.cesnet.cz/mentat/dbstatus/dashboard, but I did not receive any email regarding this.


Related issues

Related to Mentat - Bug #7809: Exception when accessing object management dashboardClosedJakub Judiny11/29/2024

Actions
Related to Mentat - Bug #7712: Errors are emailed twiceClosedRajmund Hruška03/14/2024

Actions
Actions #1

Updated by Jakub Judiny 23 days ago

  • Related to Bug #7809: Exception when accessing object management dashboard added
Actions #2

Updated by Rajmund Hruška 23 days ago

Hawat errors are not sent on mentat-dev because Debug is set to True. If I remember correctly, even in Flask source code the emails are send only when not in Debug.

Actions #3

Updated by Rajmund Hruška 23 days ago

Rajmund Hruška wrote in #note-2:

Hawat errors are not sent on mentat-dev because Debug is set to True. If I remember correctly, even in Flask source code the emails are send only when not in Debug.

I will need to find that piece of code but honestly it doesn't actually make sense not to send those emails.

Actions #4

Updated by Rajmund Hruška 23 days ago

  • Related to Bug #7712: Errors are emailed twice added
Actions #5

Updated by Rajmund Hruška 23 days ago

Rajmund Hruška wrote in #note-3:

Rajmund Hruška wrote in #note-2:

Hawat errors are not sent on mentat-dev because Debug is set to True. If I remember correctly, even in Flask source code the emails are send only when not in Debug.

I will need to find that piece of code but honestly it doesn't actually make sense not to send those emails.

https://github.com/pallets/flask/blob/6b054f8f3876ff4c31580b014d344c4cf491059d/src/flask/app.py#L811

Actions

Also available in: Atom PDF