Fix error logging