-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
$ cat error.json
[ {"id": 1}, {"name": "hello"} ]
$ bin/comp -f error.json 'error'
failed to load error.json: cannot find field name in [{id 0}] (hello)
$ bin/comp -f error.json -l :9090
2013/11/05 16:50:28.558239 main.go:58: running on 4 core(s)
2013/11/05 16:50:28.558395 main.go:59: adjusting runtime to run on 4 cores (old value 1)
2013/11/05 16:50:28.558631 store.go:113: available symbols:
2013/11/05 16:50:28.558688 main.go:69: garbage collecting (heap ~0MB)
2013/11/05 16:50:28.559072 main.go:72: done (heap ~0MB)
2013/11/05 16:50:28.559088 main.go:74: announcing :9090 /full /console /pprof
The comp does not load the file and only prints a message:
2013/11/05 16:50:28.558631 store.go:113: available symbols:
without giving more information about the invalid input file(s)
Metadata
Metadata
Assignees
Labels
No labels