Skip to content

Commit ce70540

Browse files
committed
change string to use error information function
1 parent 9def825 commit ce70540

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/mrcoq/lib/multilanguageapi/exception/LangFileNotFoundException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
public class LangFileNotFoundException extends Exception {
66
public LangFileNotFoundException(Lang lang) {
7-
super("No language file found for " + lang.getConfigName() + " (" + String.join(", ", lang.getLocals()) + ")");
7+
super("No language file found for " + lang.getErrorInformation());
88
}
99
}

0 commit comments

Comments
 (0)