Skip to content
Snippets Groups Projects
Commit e7d01660 authored by Martin Mareš's avatar Martin Mareš
Browse files

send_internal_error_email nic nevrací

parent 703408fc
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ error_tbf = token_bucket.Limiter(rate=1/300, capacity=10, storage=token_bucket.M
errors_supressed = 0
def send_internal_error_email(place: str, attrs: Mapping[str, Optional[str]], exc_info: ExceptionInfo):
def send_internal_error_email(place: str, attrs: Mapping[str, Optional[str]], exc_info: ExceptionInfo) -> None:
errors_to = getattr(config, 'MAIL_ERRORS_TO', None)
if errors_to is None:
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment