Skip to content

no errors printed for invalid input in "server" mode #25

@julochrobak

Description

@julochrobak
$ 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions