diff options
Diffstat (limited to 'view/elf/elfview.cpp')
| -rw-r--r-- | view/elf/elfview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp index ae751269..5eb9cea7 100644 --- a/view/elf/elfview.cpp +++ b/view/elf/elfview.cpp @@ -2814,7 +2814,8 @@ Ref<BinaryView> ElfViewType::Create(BinaryView* data) } catch (std::exception& e) { - m_logger->LogError("%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what()); + m_logger->LogErrorForException( + e, "%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what()); return nullptr; } } @@ -2828,7 +2829,8 @@ Ref<BinaryView> ElfViewType::Parse(BinaryView* data) } catch (std::exception& e) { - m_logger->LogError("%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what()); + m_logger->LogErrorForException( + e, "%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what()); return nullptr; } } |
