Move Fail2Ban exceptions into central app.exceptions module
This commit is contained in:
@@ -24,7 +24,7 @@ from app.dependencies import (
|
||||
)
|
||||
from app.models.geo import GeoCacheStatsResponse, GeoReResolveResponse, IpLookupResponse
|
||||
from app.services import geo_service, jail_service
|
||||
from app.utils.fail2ban_client import Fail2BanConnectionError
|
||||
from app.exceptions import Fail2BanConnectionError
|
||||
|
||||
router: APIRouter = APIRouter(prefix="/api/geo", tags=["Geo"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user