Commit a3ec2f77 authored by ledig's avatar ledig

[FIX] now the exception will be reached further through the exception stack

parent d92ec327
......@@ -167,7 +167,7 @@ boost::shared_ptr< WDataSet > WReaderNIfTI::load()
catch( const std::exception& e )
{
nifti_image_free( filedata );
return boost::shared_ptr< WDataSet >( new WDataSet );
throw e;
}
newGrid = boost::shared_ptr< WGridRegular3D >( new WGridRegular3D(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment