From 76be2e4946c86f905a9a71b1675fd8ca00ee53ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 9 Dec 2023 16:29:45 +0100 Subject: [PATCH] Fix rendering of OdooSeriesNotDtected exceptions --- src/oca_github_bot/manifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):