From 11e87968478e3e0044e3806b413936cf8717087f Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 18 Jul 2018 12:53:52 +0200 Subject: [PATCH] slsReceiver: HDF5: printError obsolete since hdf51.10.2 and so using printErrorStack() --- slsReceiverSoftware/include/HDF5FileStatic.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/slsReceiverSoftware/include/HDF5FileStatic.h b/slsReceiverSoftware/include/HDF5FileStatic.h index 27126e88e..0ee2edfd6 100644 --- a/slsReceiverSoftware/include/HDF5FileStatic.h +++ b/slsReceiverSoftware/include/HDF5FileStatic.h @@ -112,7 +112,7 @@ public: } } catch(Exception error) { cprintf(RED,"Error in closing HDF5 handles of index %d\n", ind); - error.printError(); + error.printErrorStack(); } } @@ -130,7 +130,7 @@ public: } } catch(Exception error) { cprintf(RED,"Error in closing master HDF5 handles\n"); - error.printError(); + error.printErrorStack(); } } @@ -177,7 +177,7 @@ public: } catch(Exception error){ cprintf(RED,"Error in writing to file in object %d\n",ind); - error.printError(); + error.printErrorStack(); return 1; } return 0; @@ -219,7 +219,7 @@ public: } catch(Exception error){ cprintf(RED,"Error in writing parameters to file in object %d\n",ind); - error.printError(); + error.printErrorStack(); return 1; } return 0; @@ -258,7 +258,7 @@ public: } catch(Exception error){ cprintf(RED,"Error in extending dataset in object %d\n",ind); - error.printError(); + error.printErrorStack(); return 1; } return 0; @@ -372,7 +372,7 @@ public: } catch(Exception error) { cprintf(RED,"Error in creating master HDF5 handles\n"); - error.printError(); + error.printErrorStack(); return 1; } return 0; @@ -462,7 +462,7 @@ public: } catch(Exception error){ cprintf(RED,"Error in creating HDF5 handles in object %d\n",ind); - error.printError(); + error.printErrorStack(); fd->close(); return 1; } @@ -757,7 +757,7 @@ public: oldfd->close(); } catch(Exception error){ cprintf(RED,"Error in copying virtual files\n"); - error.printError(); + error.printErrorStack(); free(data_out); oldfd->close(); newfd->close();