You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/11/05 00:00:00 UTC

(commons-crypto) branch master updated: debug needs second param; provide more info

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new 7395dba4 debug needs second param; provide more info
7395dba4 is described below

commit 7395dba47b466ed2f10403488cb81a0044f5a101
Author: Sebb <se...@apache.org>
AuthorDate: Sat Nov 4 23:59:55 2023 +0000

    debug needs second param; provide more info
    
    [skip ci]
---
 src/main/java/org/apache/commons/crypto/NativeCodeLoader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
index e6acd385..0f773145 100644
--- a/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
+++ b/src/main/java/org/apache/commons/crypto/NativeCodeLoader.java
@@ -110,7 +110,7 @@ final class NativeCodeLoader {
                                     attributes.owner(), attributes.group());
                         }
                     } catch (final UnsupportedOperationException e)  {
-                        debug(e.getMessage());
+                        debug("Files.readAttributes failed on %s: %s", path, e.getMessage());
                     }
                 }
             } finally {