fix error log, use method, invocation has no useful toString