Build: #1538 was successful
Job: Default Job was successful
Code commits
openmrs-core master
-
Ivo Ulrich <teleivo@users.noreply.github.com> 732eafc0cb64cec6162ab0ef21a1724f868cea7e
Merge pull request #2634 from teleivo/TRUNK-5377
TRUNK-5377 Remove redundant logging on failed module start -
teleivo <mrteleivo@gmail.com> 1747d5a45c96d3107fa32d7fae1810215a94ab9a
TRUNK-5377 Remove redundant logging on failed module start
inline private method ModuleFactory.getModuleFromFile
since it does not add any value. (It is private and only used once.)
It simply catches ModuleExceptions, adds logging that
replicates whats inside the Exception and rethrows the ModuleException.
The same information will be visible in the log of the ModuleException
which causes the exception to be logged twice.- api/src/main/java/org/openmrs/module/ModuleFactory.java (version 1747d5a45c96d3107fa32d7fae1810215a94ab9a)