Skip to content

Conversation

yagisumi
Copy link

--output-type msgpack を使った時に、エラーで終了しないようにしました。

  • chompでMessagePack自体のデータを削ってしまうのを修正
  • MessagePack.unpack()から出てくるエラーを捕捉。
  • query log に不要な --output_type "msgpack" が入らないように修正
  • エラーメッセージのcontentがバイナリなので、とりあえずcontent.inspectで読めるように修正

テストの書き方がよくわからないので、テストは追加してません。
Lubuntu 19 と Windows 7 で groonga 9.0.4 を使って動作確認はしました。
(windowsのgroongaは、出力をバイナリモードにする修正を加えて確認)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant