Improve logger.getErrorMessage method to avoid silent failures.
Improve logger.getErrorMessage method to avoid silent failures.

TomzxForks/gh,henvic/gh,henvic/gh,oouyang/gh,oouyang/gh,TomzxForks/gh,modulexcite/gh,modulexcite/gh,dustinryerson/gh,dustinryerson/gh,tomzx/gh,tomzx/gh