Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

user friendly message expected for JSON syntax errors #249

Closed
kmaehashi opened this Issue · 1 comment

2 participants

@kmaehashi
Owner

Jubatus servers, jubaconv, and jubaconfig must catch exception raised from pficommon::text::json and display user-friendly message like "syntax error in configuration: " + e.what().

Currently it just aborts and core dumps.

terminate called after throwing an instance of 'pfi::lang::parse_error'
  what():  <istream>:1:1 invalid char: '#' (U+0023)
zsh: abort (core dumped)  jubaclassifier --configpath invalid.json
@y-oda-oni-juba y-oda-oni-juba referenced this issue from a commit in y-oda-oni-juba/jubatus
@y-oda-oni-juba y-oda-oni-juba user-friendly config error message (#249) 6cbb7b7
@kmaehashi
Owner

Fixed via #312

@kmaehashi kmaehashi closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.