diff --git a/relational/relation.py b/relational/relation.py index be6c1a0..0205f72 100644 --- a/relational/relation.py +++ b/relational/relation.py @@ -145,7 +145,7 @@ class Relation(NamedTuple): if eval(c_expr, attributes): content.append(i) except Exception as e: - raise Exception(f'Failed to evaluate {expr}\n{e}') + raise Exception(f'Failed to evaluate {expr} with {attributes}\n{e}') return Relation(self.header, frozenset(content)) def product(self, other: 'Relation') -> 'Relation':