Adding logCompilationError to DI1