Skip to content

Commit

Permalink
fix: remove duplicated ExpansionError in excepts (compile_ir)
Browse files Browse the repository at this point in the history
  • Loading branch information
YUUU23 committed Jun 11, 2024
1 parent c7ce083 commit aa29b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/pash_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def compile_ir(ir_filename, compiled_script_file, args, compiler_config):
)
except ExpansionError as e:
log("WARNING: Exception caught because some region(s) are not expandable and therefore unparallelizable:", e)
except (ExpansionError, UnparallelizableError) as e:
except UnparallelizableError as e:
log("WARNING: Exception caught because some region(s) are unparallelizable:", e)
# log(traceback.format_exc()) # uncomment for exact trace report (PaSh user should see informative messages for unparellizable regions)
except (AdjLineNotImplementedError, NotImplementedError) as e:
Expand Down

0 comments on commit aa29b00

Please sign in to comment.