From 6aceab1e9f319087071029e113145886b436602b Mon Sep 17 00:00:00 2001 From: Yuriy Movchan Date: Thu, 16 Jan 2025 23:28:50 +0300 Subject: [PATCH] feat(jans-auth): log current folder in UserJansExtUidAttributeTest test Signed-off-by: Yuriy Movchan --- .../java/io/jans/orm/util/properties/FileConfiguration.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jans-orm/util/src/main/java/io/jans/orm/util/properties/FileConfiguration.java b/jans-orm/util/src/main/java/io/jans/orm/util/properties/FileConfiguration.java index 0a61b86aa10..5f0cf479081 100644 --- a/jans-orm/util/src/main/java/io/jans/orm/util/properties/FileConfiguration.java +++ b/jans-orm/util/src/main/java/io/jans/orm/util/properties/FileConfiguration.java @@ -6,6 +6,7 @@ package io.jans.orm.util.properties; +import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; @@ -77,9 +78,9 @@ protected void loadProperties() { this.loaded = true; } catch (ConfigurationException ex) { - LOG.error(String.format("Failed to load '%s' configuration file from config folder", this.fileName)); + LOG.error(String.format("Failed to load '%s' configuration file from config folder. Current folder: '%s'", this.fileName, (new File(".").getAbsolutePath()))); } catch (Exception e) { - LOG.error(String.format("Failed to load '%s' configuration file from config folder", this.fileName)); + LOG.error(String.format("Failed to load '%s' configuration file from config folder. Current folder: '%s'", this.fileName, (new File(".").getAbsolutePath()))); LOG.error(e.getMessage(), e); } }