Skip to content

Commit

Permalink
Merge pull request #2435 from telefonicaid/task/check_connection_reset
Browse files Browse the repository at this point in the history
Add another check to connection reset when no  java.net.SocketException has no cause
  • Loading branch information
fgalan authored Nov 6, 2024
2 parents d5b4e38 + 8e1c23c commit ca8f388
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES_NEXT_RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [cygnus-ngsi][arcgis] Log feature table error
- [cygnus-ngsi][arcgis] fix log warn to debug level in arcgis feature when no object id is found (#2430)
- [cygnus-ngsi][arcgis] Add another check to connection reset when no java.net.SocketException has no cause (#2405)
- [cygnus-ngsi] Upgrade Debian version from 12.6 to 12.7 in Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,8 @@ private void setError(Exception e) {
connected = false;
}
LOGGER.error("Error Cause: " + e.getCause().getMessage());
} else if (e != null && e.getMessage().contains("Connection reset")) {
connected = false;
}
LOGGER.error("Error Message: " + e.getMessage());

Expand Down

0 comments on commit ca8f388

Please sign in to comment.