mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Add enum hooks to log parseHook jsony errors
This commit is contained in:
parent
6a7e56b613
commit
da4d6eabdd
2 changed files with 28 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ proc parseUnifiedCard*(json: string): Card =
|
|||
component.parseMedia(card, result)
|
||||
of buttonGroup:
|
||||
discard
|
||||
of unknown:
|
||||
echo "ERROR: Unknown component type: ", json
|
||||
|
||||
case component.kind
|
||||
of twitterListDetails:
|
||||
|
|
|
|||
Loading…
Reference in a new issue