Skip to content

Commit

Permalink
IECoreArnold::VDBAlgo : Don't suppress exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldresser-ie committed Jun 25, 2024
1 parent 52a98f6 commit 48f22fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
1.4.x.x (relative to 1.4.8.0)
=======

Fixes
-----

- IECoreArnold::VDBAlgo : Fixed suppression of exception messages


1.4.8.0 (relative to 1.4.7.0)
Expand Down
4 changes: 2 additions & 2 deletions src/IECoreArnold/VDBAlgo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ UCharVectorDataPtr createMemoryBuffer(const IECoreVDB::VDBObject* vdbObject)
gridsToWrite.push_back( grid );
}
}
catch( const std::exception & )
catch( const std::exception &e )
{
IECore::msg( IECore::MessageHandler::Warning, "VDBObject::memoryBuffer", "Unable to estimate vdb size." );
IECore::msg( IECore::MessageHandler::Warning, "VDBObject::memoryBuffer", "Unable to estimate vdb size, due to exception: " + std::string( e.what() ) );
}

IECore::UCharVectorDataPtr buffer = new IECore::UCharVectorData();
Expand Down

0 comments on commit 48f22fb

Please sign in to comment.