From b7a841f3b01dd6a3561136857070ea2437a3f9a4 Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Fri, 8 Sep 2023 11:03:17 +0200 Subject: [PATCH] fixup! Improve remote error msg --- oca_port/exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oca_port/exceptions.py b/oca_port/exceptions.py index ef689cc..673a55d 100644 --- a/oca_port/exceptions.py +++ b/oca_port/exceptions.py @@ -9,4 +9,6 @@ def __init__(self, entity): class RemoteBranchValueError(ValueError): - pass + def __init__(self, entity): + super().__init__(entity._ref) + self.entity = entity