Skip to content

Use SLF4J logging for exception handling in WebComponentRegistrar#228

Open
aadvik93 wants to merge 6 commits intoopenmrs:masterfrom
aadvik93:fix-logging-webcomponent
Open

Use SLF4J logging for exception handling in WebComponentRegistrar#228
aadvik93 wants to merge 6 commits intoopenmrs:masterfrom
aadvik93:fix-logging-webcomponent

Conversation

@aadvik93
Copy link

@aadvik93 aadvik93 commented Feb 8, 2026

Replaced exception handling using printStackTrace() with proper SLF4J logging in WebComponentRegistrar.

Using SLF4J improves logging consistency, readability, and production-level error handling across the module.

Project builds successfully
No functional behavior changed
Only logging mechanism updated

aadvik93 and others added 4 commits February 20, 2026 01:01
Co-authored-by: suubi-joshua <78343336+suubi-joshua@users.noreply.github.com>
Co-authored-by: suubi-joshua <78343336+suubi-joshua@users.noreply.github.com>
Co-authored-by: suubi-joshua <78343336+suubi-joshua@users.noreply.github.com>
Co-authored-by: suubi-joshua <78343336+suubi-joshua@users.noreply.github.com>
@aadvik93
Copy link
Author

Thank you for the review.
I’ve addressed the suggested changes.
Please let me know if any further modifications are needed.

@dilankavishka
Copy link

Hi @aadvik93 , Thank you for the PR!

Could you please take a look on this : https://openmrs.atlassian.net/wiki/spaces/docs/pages/25477199/Pull+Request+Tips

@aadvik93
Copy link
Author

Hi @aadvik93 , Thank you for the PR!

Could you please take a look on this : https://openmrs.atlassian.net/wiki/spaces/docs/pages/25477199/Pull+Request+Tips

Thank you for sharing the PR tips. I have reviewed them and will make sure to follow these guidelines. Please let me know if anything needs to be updated in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants