Fix missing error logs