also add the error log