outposts: improve controller error handling
This commit is contained in:
@ -3,9 +3,14 @@ from typing import Dict
|
||||
|
||||
from structlog import get_logger
|
||||
|
||||
from passbook.lib.sentry import SentryIgnoredException
|
||||
from passbook.outposts.models import Outpost
|
||||
|
||||
|
||||
class ControllerException(SentryIgnoredException):
|
||||
"""Exception raise when anything fails during controller run"""
|
||||
|
||||
|
||||
class BaseController:
|
||||
"""Base Outpost deployment controller"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user