Include video ID in parser failure message
This commit is contained in:
parent
336cd6125c
commit
2e398c2c87
|
@ -219,7 +219,7 @@ proc parseVideo*(node: JsonNode; tweetId: int): Video =
|
|||
url: track["vmapUrl"].to(string),
|
||||
available: true)
|
||||
else:
|
||||
echo "Can't parse video of type ", cType
|
||||
echo "Can't parse video of type ", cType, " ", tweetId
|
||||
|
||||
result.videoId = $tweetId
|
||||
result.thumb = node["posterImage"].to(string)
|
||||
|
|
Loading…
Reference in New Issue