Skip to content

Fix HTML closing tag typo in playground error display #1182

@7vignesh

Description

@7vignesh

There is a typo in the HTML closing tag used in the printResult() function within the playground files. The closing tag is used instead of , which breaks the HTML structure and prevents error messages from rendering correctly in the output element.

Affected Files

playground.js — Line 58
playground.js — Line 45

Current Code (Broken)

outputElement.innerHTML = <code> Error: ${escapedMessage} Stack: ${escapedStack}</co>;

Expected Code (Fixed)

outputElement.innerHTML = <code> Error: ${escapedMessage} Stack: ${escapedStack}</code>;

Steps to Reproduce

Navigate to the playground files in the auth or api packages.
Trigger an error within the playground.
Observe the output element.

Expected Behavior
Error messages should render correctly inside a HTML element, with properly matched opening and closing tags.

Actual Behavior
The HTML markup is malformed due to the incorrect closing tag (), which prevents the error output from being displayed correctly.

Severity
Low — This issue only affects the playground development/testing utility and does not impact production code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions