feat(wsh): add callstack in error message (closes #5144, #5145)