ApplicationNotFound has minimum message

This commit is contained in:
iLLiCiTiT 2020-11-19 11:28:10 +01:00
parent cb58f6a474
commit c281059a19

View file

@ -28,7 +28,11 @@ log = logging.getLogger(__name__)
class ApplicationNotFound(Exception): class ApplicationNotFound(Exception):
"""Application was not found in ApplicationManager by name.""" """Application was not found in ApplicationManager by name."""
pass def __init__(self, app_name):
self.app_name = app_name
super(ApplicationNotFound, self).__init__(
"Application \"{}\" was not found.".format(app_name)
)
class ApplictionExecutableNotFound(Exception): class ApplictionExecutableNotFound(Exception):