diff options
Diffstat (limited to 'c++/examples/writedata.cpp')
-rw-r--r-- | c++/examples/writedata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp index e14e578..f5c06cf 100644 --- a/c++/examples/writedata.cpp +++ b/c++/examples/writedata.cpp @@ -306,21 +306,21 @@ int main (void) // catch failure caused by the H5File operations catch( FileIException error ) { - error.printError(); + error.printErrorStack(); return -1; } // catch failure caused by the DataSet operations catch( DataSetIException error ) { - error.printError(); + error.printErrorStack(); return -1; } // catch failure caused by the DataSpace operations catch( DataSpaceIException error ) { - error.printError(); + error.printErrorStack(); return -1; } |