diff options
Diffstat (limited to 'view/macho/machoview.cpp')
| -rw-r--r-- | view/macho/machoview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp index d26769e1..9ee393e8 100644 --- a/view/macho/machoview.cpp +++ b/view/macho/machoview.cpp @@ -3863,8 +3863,8 @@ Ref<Settings> MachoViewType::GetLoadSettingsForData(BinaryView* data) Ref<BinaryView> viewRef = Parse(data); if (!viewRef || !viewRef->Init()) { - m_logger->LogError("View type '%s' could not be created", GetName().c_str()); - return nullptr; + m_logger->LogWarn("Failed to initialize view of type '%s'. Generating default load settings.", GetName().c_str()); + viewRef = data; } Ref<Settings> settings = GetDefaultLoadSettingsForData(viewRef); |
