Skip to content

Commit cef9fe1

Browse files
committed
expose emulation errors to the user as info
1 parent d6ad104 commit cef9fe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

refinery/units/formats/exe/vstack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,8 @@ def process(self, data: Chunk):
570570
emu.base_exe_to_emu(cursor.start),
571571
emu.base_exe_to_emu(cursor.stop),
572572
)
573-
except EmulationError:
574-
pass
573+
except EmulationError as e:
574+
self.log_info(F'emulation halted with error: {e!s}')
575575

576576
for patch, api in state.synthesized.items():
577577
chunk = self.labelled(patch, src=api)

0 commit comments

Comments
 (0)