Show debug info when TikTok gives error
This commit is contained in:
parent
3ba64be202
commit
a3b4143ab1
5 changed files with 20 additions and 10 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue