diff --git a/src/oca_github_bot/manifest.py b/src/oca_github_bot/manifest.py index 6589b713..3f37d3d9 100644 --- a/src/oca_github_bot/manifest.py +++ b/src/oca_github_bot/manifest.py @@ -30,7 +30,8 @@ class NoManifestFound(Exception): class OdooSeriesNotDetected(Exception): - pass + def __init__(self, msg=None): + super().__init__(msg or "Odoo series could not be detected") def is_addons_dir(addons_dir, installable_only=False):