Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-pilatus
Commits
74c8c672
Commit
74c8c672
authored
Nov 22, 2016
by
Sebastien Petitdemange
Browse files
debug display the errno message in case of error
parent
f46ec8c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PilatusInterface.cpp
View file @
74c8c672
...
...
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/mman.h>
#include <unistd.h>
#include <errno.h>
#include "lima/Debug.h"
#include "PilatusInterface.h"
...
...
@@ -643,7 +644,7 @@ public:
else
{
m_interface
.
m_cam
.
errorStopAcquisition
();
THROW_HW_ERROR
(
Error
)
<<
"Can't open file:"
<<
DEB_VAR1
(
full_path
);
THROW_HW_ERROR
(
Error
)
<<
strerror
(
errno
)
<<
DEB_VAR1
(
full_path
);
}
}
void
*
mmap_mem_base
=
mmap
(
NULL
,
DECTRIS_EDF_OFFSET
+
memSize
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment