Only show the tuple, not the full context

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2020-08-27 22:05:29 +02:00
parent 821b96c6e8
commit 482704be81
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF

View File

@ -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':