Skip to content
Snippets Groups Projects
Commit ecae3119 authored by George Marchment's avatar George Marchment
Browse files

orrect bug

parent 75231f53
No related branches found
No related tags found
No related merge requests found
Pipeline #13246 passed with stages
in 1 minute and 29 seconds
......@@ -4,9 +4,9 @@ class BioFlowInsightError(Exception):
self.origin = origin
#TODO -> add message at the end
if(origin!=None):
super().__init__(f"{'\033[91m'}[{num}] Error in the file '{self.origin.get_file_address()}': "+error+'\033[0m')
super().__init__(f"[{num}] Error in the file '{self.origin.get_file_address()}': "+error)
else:
super().__init__(f"{'\033[91m'}[{num}] {error}{'\033[0m'}")
super().__init__(f"[{num}] {error}")
#To handle the different type of errors; I'm gonna add numbers to the errors
#Pair numbers if it's the users fault
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment