     else if type == 'feature'
       @_geometryFromC3mlFeature(c3ml, geomDf)
     else
-      Logger.warn('Skipping unhandled c3ml', c3ml)
+      msg = 'Skipping unhandled c3ml'
+      Logger.warn(msg, c3ml)
+      geomDf.reject(msg)
     geomDf.promise
 
   _geometryFromC3mlMesh: (c3ml, geomDf) ->

          modelDf.reject(err)
        else
          modelDf.resolve(insertId)
      Entities.insert model, callback
    modelDf.promise

  _mapEntity: (doc) -> doc

            border_color: border_color
          inputs: inputs
      model = @_mapEntity(model, args) ? model
      if args.forEachEntity
        model = args.forEachEntity.call(EntityImporter, {entity: model, c3ml: c3ml}) ? model

      callback = (err, insertId) ->
        if err
          Logger.error('Failed to insert entity', err)
