Revert change about console.error(), back to .log(), no sync trace solution yet