Skip to content

Commit 926efa6

Browse files
committed
Add LogForException APIs to pass stack trace information separate from the message
1 parent 1b2f5c4 commit 926efa6

File tree

19 files changed

+815
-36
lines changed

19 files changed

+815
-36
lines changed

arch/armv7/arch_armv7.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,9 +1389,9 @@ class Armv7Architecture: public ArmCommonArchitecture
13891389
}
13901390
}
13911391
}
1392-
catch (exception&)
1392+
catch (exception& e)
13931393
{
1394-
LogWarn("Failed to disassemble instruction with encoding: %" PRIx32 "\n", *(uint32_t*)data);
1394+
LogWarnForException(e, "Failed to disassemble instruction with encoding: %" PRIx32 "\n", *(uint32_t*)data);
13951395
}
13961396
return true;
13971397
}

0 commit comments

Comments
 (0)