Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Openfire
Commits
cbab2458
Commit
cbab2458
authored
Nov 30, 2015
by
Guus der Kinderen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log a stacktrace when something erroneous occurs.
parent
18069a03
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
LocalOutgoingServerSession.java
...software/openfire/session/LocalOutgoingServerSession.java
+2
-10
No files found.
src/java/org/jivesoftware/openfire/session/LocalOutgoingServerSession.java
View file @
cbab2458
...
@@ -334,15 +334,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou
...
@@ -334,15 +334,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou
catch
(
SSLHandshakeException
e
)
{
catch
(
SSLHandshakeException
e
)
{
Log
.
debug
(
"LocalOutgoingServerSession: Handshake error while creating secured outgoing session to remote "
+
Log
.
debug
(
"LocalOutgoingServerSession: Handshake error while creating secured outgoing session to remote "
+
"server: "
+
hostname
+
"(DNS lookup: "
+
realHostname
+
":"
+
realPort
+
"server: "
+
hostname
+
"(DNS lookup: "
+
realHostname
+
":"
+
realPort
+
"):"
+
e
.
toString
());
"):"
,
e
);
// Close the connection
if
(
connection
!=
null
)
{
connection
.
close
();
}
}
catch
(
XmlPullParserException
e
)
{
Log
.
warn
(
"Error creating secured outgoing session to remote server: "
+
hostname
+
"(DNS lookup: "
+
realHostname
+
":"
+
realPort
+
"): "
+
e
.
toString
());
// Close the connection
// Close the connection
if
(
connection
!=
null
)
{
if
(
connection
!=
null
)
{
connection
.
close
();
connection
.
close
();
...
@@ -350,7 +342,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou
...
@@ -350,7 +342,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
Log
.
error
(
"Error creating secured outgoing session to remote server: "
+
hostname
+
Log
.
error
(
"Error creating secured outgoing session to remote server: "
+
hostname
+
"(DNS lookup: "
+
realHostname
+
":"
+
realPort
+
")
: "
+
e
.
toString
()
);
"(DNS lookup: "
+
realHostname
+
":"
+
realPort
+
")
"
,
e
);
// Close the connection
// Close the connection
if
(
connection
!=
null
)
{
if
(
connection
!=
null
)
{
connection
.
close
();
connection
.
close
();
...
...
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