Fix error log spam

Regression from e002b7242cb19a0e028d325cd64b57e67dc48108