fix(wsh): Use errorLogException() to report errors (refs #4938)
Merge pull request #1298 from eguaj/3.2-A4938

fix(wsh): Use errorLogException() to report errors (closes #4938)