Skip to content

Commit 069cef3

Browse files
longhuan2018a17r
authored andcommitted
Update ReaderWriterLAS.cpp
1 parent d26348f commit 069cef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/osgPlugins/las/ReaderWriterLAS.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ class ReaderWriterLAS : public osgDB::ReaderWriter
293293

294294
return mt;
295295
}
296-
catch (...)
296+
catch (pdal::pdal_error& err)
297297
{
298+
std::cout << err.what() << std::endl;
298299
}
299300
return ReadResult::ERROR_IN_READING_FILE;
300301
}

0 commit comments

Comments
 (0)