Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
09fa9b17
Commit
09fa9b17
authored
Oct 07, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error reporting.
parent
a80e573c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
bsp.cpp
dlib/bsp/bsp.cpp
+3
-1
No files found.
dlib/bsp/bsp.cpp
View file @
09fa9b17
...
@@ -495,7 +495,8 @@ namespace dlib
...
@@ -495,7 +495,8 @@ namespace dlib
sout
<<
"An exception was thrown while attempting to receive a message from processing node "
<<
sender_id
<<
".
\n
"
;
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
<<
" 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 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
);
auto_mutex
lock
(
class_mutex
);
error_message
=
sout
.
str
();
error_message
=
sout
.
str
();
}
}
...
@@ -505,6 +506,7 @@ namespace dlib
...
@@ -505,6 +506,7 @@ namespace dlib
sout
<<
"An exception was thrown while attempting to receive a message from processing node "
<<
sender_id
<<
".
\n
"
;
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
<<
" 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 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
);
auto_mutex
lock
(
class_mutex
);
error_message
=
sout
.
str
();
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