fix error logging to ISPYB