Re-add error log statement that got dropped