Skip to content

Commit

Permalink
Errbit | fixing exception class import
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 7, 2022
1 parent f39c04a commit 5581c9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/common/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
from django.shortcuts import get_object_or_404
from drf_yasg import openapi
from drf_yasg.utils import swagger_auto_schema
from elastic_transport import TransportError
from elasticsearch import RequestError
from elasticsearch import RequestError, TransportError
from elasticsearch_dsl import Q
from pydash import get
from rest_framework import response, generics, status
Expand Down

0 comments on commit 5581c9e

Please sign in to comment.