Skip to content

Commit

Permalink
Improve error logs for DownloadStats
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Sep 19, 2024
1 parent 421462e commit 898d795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jivesoftware/site/DownloadStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public static void addUpdateToDatabase( String ipAddress, String product, String
}
catch ( Exception e )
{
Log.warn( "Unable to retrieve info", e );
Log.warn( "Unable to retrieve location info for {}", ipAddress, e );
}

pstmt.setString( 1, ipAddress );
Expand All @@ -403,7 +403,7 @@ public static void addUpdateToDatabase( String ipAddress, String product, String
}
catch ( Exception e )
{
Log.warn( "Unable to process download information for " + ipAddress, e );
Log.warn( "Unable to process download information for {} {} {} {} {} {}", ipAddress, product, version, fileType, fileName, downloadInfo, e );
}
finally
{
Expand Down

0 comments on commit 898d795

Please sign in to comment.