diff --git a/src/code_.py b/src/code_.py index 519be9ebb6cf2550e440eb4e0cb854c0706d1bf9..ce88418b5b22fc9adab0259d4c42abbea564a086 100644 --- a/src/code_.py +++ b/src/code_.py @@ -201,7 +201,7 @@ class Code: #Check if there is still a ternary operation in this case we cannot analyse it #Cause it is a complexe/multiple ternanry operation for match in re.finditer(pattern, code): - raise BioFlowInsightError("Detected a multi ternary operation (a ternary operation in a ternary operation). BioFlow-Insight does not support this, try defining it in a different way.", type="Multi ternary operation") + raise BioFlowInsightError(f"Detected a multi ternary operation (a ternary operation in a ternary operation) in the file '{self.origin.get_file_address()}'. BioFlow-Insight does not support this, try defining it in a different way.", type="Multi ternary operation") return code def rewrite_jump_dot(self, code):