Skip to content

Commit

Permalink
Print Exception in solution reconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcere committed Jan 20, 2025
1 parent b4626ce commit 663db4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/execution/main_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def analyze_single_cfg(cfg: CFG, final_dir: Path, args: argparse.Namespace):
csv_rows.append(csv_row)
solution_asm = asm_from_ids(sfs, solution_found)
block_name2asm[block_name] = solution_asm
except:
except Exception as e:
block_name2asm[block_name] = []
print(f"Error in the greedy algorithm processing {block_name}")
print(f"Error in the greedy algorithm processing {block_name}: {e}")

# Generate complete asm from CFG object + dict

Expand Down

0 comments on commit 663db4d

Please sign in to comment.