Skip to content

Commit

Permalink
feat(jans-auth): log current folder in UserJansExtUidAttributeTest test
Browse files Browse the repository at this point in the history
Signed-off-by: Yuriy Movchan <[email protected]>
  • Loading branch information
yurem committed Jan 16, 2025
1 parent cb4cc6d commit 6aceab1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 6aceab1

Please sign in to comment.