summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_crtgrpar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/h5tutr_crtgrpar.cpp')
-rw-r--r--c++/examples/h5tutr_crtgrpar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/h5tutr_crtgrpar.cpp b/c++/examples/h5tutr_crtgrpar.cpp
index 93bd08d..3e175d6 100644
--- a/c++/examples/h5tutr_crtgrpar.cpp
+++ b/c++/examples/h5tutr_crtgrpar.cpp
@@ -68,14 +68,14 @@ int main(void)
// catch failure caused by the File operations
catch(FileIException error)
{
- error.printError();
+ error.printErrorStack();
return -1;
}
// catch failure caused by the Group operations
catch(GroupIException error)
{
- error.printError();
+ error.printErrorStack();
return -1;
}