Print readpage() error only when there is error