another minor fix

logging error message printing incorrectly