Skip to content

Commit

Permalink
remove json decode on response body (#6626)
Browse files Browse the repository at this point in the history
  • Loading branch information
mk1s authored Aug 28, 2020
1 parent ef352c4 commit edc95d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/kazoo_speech/src/asr/kazoo_asr_google.erl
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ handle_response({'ok', 200, _Headers, Content2}) ->
handle_response({'ok', _Code, _Hdrs, Content2}) ->
lager:debug("asr of media failed with code ~p", [_Code]),
lager:debug("resp: ~s", [Content2]),
{'error', 'asr_provider_failure', kz_json:decode(Content2)}.
{'error', 'asr_provider_failure', Content2}.

0 comments on commit edc95d4

Please sign in to comment.