From 1a0631c8a42e81e5d97b8aa7ac9825ba025b0ee2 Mon Sep 17 00:00:00 2001
From: Aaron Cuevas Lopez <aacuelo@teleco.upv.es>
Date: Tue, 11 Jul 2017 04:47:22 +0200
Subject: [PATCH] MAke hdf5 lib error message more specific

---
 Source/Plugins/CommonLibs/OpenEphysHDF5Lib/HDF5FileFormat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Source/Plugins/CommonLibs/OpenEphysHDF5Lib/HDF5FileFormat.h b/Source/Plugins/CommonLibs/OpenEphysHDF5Lib/HDF5FileFormat.h
index c5202f64b..9f0aac675 100644
--- a/Source/Plugins/CommonLibs/OpenEphysHDF5Lib/HDF5FileFormat.h
+++ b/Source/Plugins/CommonLibs/OpenEphysHDF5Lib/HDF5FileFormat.h
@@ -27,7 +27,7 @@
 #include <CommonLibHeader.h>
 
 #define PROCESS_ERROR std::cerr << error.getCDetailMsg() << std::endl; return -1
-#define CHECK_ERROR(x) if (x) std::cerr << "Error at HDFRecording " << __LINE__ << std::endl;
+#define CHECK_ERROR(x) if (x) std::cerr << "Error at " << __FILE__ " " << __LINE__ << std::endl;
 
 #ifndef CHUNK_XSIZE
 #define CHUNK_XSIZE 2048
-- 
GitLab