qiwi / qorsproxy

Yet another cors proxy
MIT License
6 stars 3 forks source link

Improve config validation error output #34

Closed antongolub closed 5 years ago

antongolub commented 5 years ago
qorsproxy -c proxy/localhost-to-test.json
{"message":"Qorsproxy is loading...","level":"info"}
{"message":"argv={\"c\":\"proxy/localhost-to-test.json\",\"config\":\"proxy/localhost-to-test.json\"}","level":"info"}
{"level":"error","message":"config_loader: invalid by schema","stack":"Error: config_loader: invalid by schema\n    at Function.read

JSON schema validator should return error details.

qiwibot commented 5 years ago

:tada: This issue has been resolved in version 2.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: