mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-20 05:21:17 -04:00
Improve JSON repr of ProblematicTimelineItem
This commit is contained in:
parent
9de69c0052
commit
0e0a95430a
1 changed files with 2 additions and 0 deletions
|
@ -305,6 +305,8 @@ struct ProblematicTimelineItem
|
|||
def to_json(locale : String?, json : JSON::Builder)
|
||||
json.object do
|
||||
json.field "type", "parse-error"
|
||||
json.field "errorMessage", @parse_exception.message
|
||||
json.field "errorBacktrace", @parse_exception.inspect_with_backtrace
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue