Now the error logging should be fixed