diff --git a/services/managers/srp_manager.py b/services/managers/srp_manager.py index 874bd0da..66622c14 100644 --- a/services/managers/srp_manager.py +++ b/services/managers/srp_manager.py @@ -46,7 +46,8 @@ class srpManager(): logger.debug("ship type %s determined to be %s" % (ship_type, ship_name)) return ship_name else: - logger.info("ship type %s is invalid please try again" % ship_type) + logger.info("ship type %s is invalid" % ship_type) + raise ValueError("Cannot get ship name")