Anu-rag-verma opened a new pull request, #288: URL: https://github.com/apache/directory-server/pull/288
**Title:** Fix incorrect ResourceBundle reference in message logging function **Description:** Corrected ResourceBundle reference in message logging function, it was referring to ERR_BUNDLE which fails to load the message logs from Resource causing the printing of default parameters from exception block. ### Error Message I found while using this in one of my project. ``` java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MSG_04100_BIND_FAIL ``` Upon investigation, it appears that the function intended to use `MSG_BUNDLE` is incorrectly referencing `ERR_BUNDLE`. After updating the code to use the correct bundle (`MSG_BUNDLE`), the issue was resolved and logging now works as expected. I’ve included the fix in this PR. If the original use of `ERR_BUNDLE` is intentional, could someone clarify its intended use case—especially if it's used internally? I'm happy to adjust the fix accordingly if there's a broader context I'm missing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org