Show debug info when TikTok gives error

This commit is contained in:
Pablo Ferreiro 2023-10-07 00:17:11 +02:00
parent 3ba64be202
commit a3b4143ab1
5 changed files with 20 additions and 10 deletions

View file

@ -14,5 +14,11 @@
{else}
<p>{$msg}</p>
{/if}
{if isset($response)}
<details>
<summary>Show debug info</summary>
<pre style="max-height: 60vh;">{json_encode($response, JSON_PRETTY_PRINT)}</pre>
</details>
{/if}
</div>
{/block}