ResourceController throw DBALException if dev env