Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
09fa9b17
Commit
09fa9b17
authored
Oct 07, 2012
by
Davis King
Browse files
Improved error reporting.
parent
a80e573c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dlib/bsp/bsp.cpp
dlib/bsp/bsp.cpp
+3
-1
No files found.
dlib/bsp/bsp.cpp
View file @
09fa9b17
...
...
@@ -495,7 +495,8 @@ namespace dlib
sout
<<
"An exception was thrown while attempting to receive a message from processing node "
<<
sender_id
<<
".
\n
"
;
sout
<<
" Sending processing node address: "
<<
con
->
con
->
get_foreign_ip
()
<<
":"
<<
con
->
con
->
get_foreign_port
()
<<
std
::
endl
;
sout
<<
" Receiving processing node address: "
<<
con
->
con
->
get_local_ip
()
<<
":"
<<
con
->
con
->
get_local_port
()
<<
std
::
endl
;
sout
<<
" Error message in the exception: "
<<
e
.
what
()
<<
std
::
endl
;
sout
<<
" Receiving processing node id: "
<<
_node_id
<<
std
::
endl
;
sout
<<
" Error message in the exception: "
<<
e
.
what
()
<<
std
::
endl
;
auto_mutex
lock
(
class_mutex
);
error_message
=
sout
.
str
();
}
...
...
@@ -505,6 +506,7 @@ namespace dlib
sout
<<
"An exception was thrown while attempting to receive a message from processing node "
<<
sender_id
<<
".
\n
"
;
sout
<<
" Sending processing node address: "
<<
con
->
con
->
get_foreign_ip
()
<<
":"
<<
con
->
con
->
get_foreign_port
()
<<
std
::
endl
;
sout
<<
" Receiving processing node address: "
<<
con
->
con
->
get_local_ip
()
<<
":"
<<
con
->
con
->
get_local_port
()
<<
std
::
endl
;
sout
<<
" Receiving processing node id: "
<<
_node_id
<<
std
::
endl
;
auto_mutex
lock
(
class_mutex
);
error_message
=
sout
.
str
();
}
...
...
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