fix error logging in runner