di compilation log only in exception