Fix hook call to logger.error.
Fix hook call to logger.error.

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