From 482704be810fa5857f0d0986ae44849e33a452e8 Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Thu, 27 Aug 2020 22:05:29 +0200 Subject: [PATCH] Only show the tuple, not the full context --- relational/relation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational/relation.py b/relational/relation.py index 4523237..1984ec7 100644 --- a/relational/relation.py +++ b/relational/relation.py @@ -193,7 +193,7 @@ class Relation: if eval(c_expr, attributes): content.append(i) except Exception as e: - raise Exception(f'Failed to evaluate {expr} with {attributes}\n{e}') + raise Exception(f'Failed to evaluate {expr} with {i}\n{e}') return Relation(self.header, frozenset(content)) def product(self, other: 'Relation') -> 'Relation':