You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue debugging an error.
We're getting a stack trace like:
JSON::GeneratorError: source sequence is illegal/malformed utf-8
from active_support/core_ext/object/json.rb:38:in `to_json'
from active_support/core_ext/object/json.rb:38:in `to_json'
from active_support/json/encoding.rb:57:in `to_json'
from json/common.rb:223:in `generate'
from json/common.rb:223:in `generate'
from active_support/json/encoding.rb:102:in `stringify'
from active_support/json/encoding.rb:35:in `encode'
from active_support/json/encoding.rb:22:in `encode'
from active_support/core_ext/object/json.rb:41:in `to_json'
from jbuilder.rb:251:in `target!'
from jbuilder/jbuilder_template.rb:81:in `target!'
from app/views/api/v1/stream/index.json.jbuilder:13:in `_app_views_api_v__stream_index_json_jbuilder__1111274208592270428_47381428682480'
from action_view/template.rb:159:in `block in render'
from active_support/notifications.rb:168:in `block in instrument'
from active_support/notifications/instrumenter.rb:23:in `instrument'
from active_support/notifications.rb:168:in `instrument'
from action_view/template.rb:354:in `instrument_render_template'
from action_view/template.rb:157:in `render'
Notice the trace is reporting the exception on line 13 of our jbuilder file
I'm guessing the error is somewhere in the partial we're rendering (which itself renders additional partials).
Without an accurate line number there's no way to track it down.
Rails version: 5.2.4.4
JBuilder version: 2.10.0
The text was updated successfully, but these errors were encountered:
I'm having an issue debugging an error.
We're getting a stack trace like:
Notice the trace is reporting the exception on line 13 of our jbuilder file
However, that file only has 11 lines.
I'm guessing the error is somewhere in the partial we're rendering (which itself renders additional partials).
Without an accurate line number there's no way to track it down.
Rails version: 5.2.4.4
JBuilder version: 2.10.0
The text was updated successfully, but these errors were encountered: