ignore directories instead of crashing koa