From 781d40a633359cbf8f3e8031e5f44dca3f03b736 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 22 Apr 2020 11:44:34 +0200 Subject: [PATCH] Add more info about exception --- sf-writer/sf_h5_writer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sf-writer/sf_h5_writer.cpp b/sf-writer/sf_h5_writer.cpp index 7229967..bf42d19 100644 --- a/sf-writer/sf_h5_writer.cpp +++ b/sf-writer/sf_h5_writer.cpp @@ -68,6 +68,7 @@ int main (int argc, char *argv[]) 0); if (n_bytes_image != 512 * 1024 * 2) { + cout << "n_bytes_image " << n_bytes_image << endl; throw runtime_error("Unexpected number of bytes in image."); }