mirror of https://github.com/zulip/zulip.git
errors: Move zilencer/error_notify.py to zerver/lib/.
This commit is contained in:
parent
0ce29d7ad6
commit
e6fc4ae27d
|
@ -1,15 +1,15 @@
|
|||
from __future__ import absolute_import
|
||||
from collections import defaultdict
|
||||
from typing import Any
|
||||
import logging
|
||||
|
||||
import logging
|
||||
import six
|
||||
|
||||
from collections import defaultdict
|
||||
from django.conf import settings
|
||||
from django.core.mail import mail_admins
|
||||
from typing import Any, Dict
|
||||
|
||||
from zerver.models import get_user_profile_by_email
|
||||
from zerver.lib.actions import internal_send_message
|
||||
from typing import Dict
|
||||
import six
|
||||
|
||||
def format_subject(subject):
|
||||
# type: (str) -> str
|
|
@ -10,12 +10,12 @@ from zilencer.models import Deployment
|
|||
|
||||
from zerver.decorator import has_request_variables, REQ
|
||||
from zerver.lib.actions import internal_send_message
|
||||
from zerver.lib.error_notify import notify_browser_error, notify_server_error
|
||||
from zerver.lib.redis_utils import get_redis_client
|
||||
from zerver.lib.response import json_success, json_error, json_response
|
||||
from zerver.lib.validator import check_dict
|
||||
from zerver.models import get_realm, get_user_profile_by_email, \
|
||||
get_realm_by_email_domain, UserProfile, Realm
|
||||
from .error_notify import notify_server_error, notify_browser_error
|
||||
|
||||
import time
|
||||
|
||||
|
|
Loading…
Reference in New Issue