Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

parse error(s) swallowed #33

@JakobJingleheimer

Description

@JakobJingleheimer

The loader catches the parse error and then swallows JSON5's error:

// src/index.js:15
  throw new Error('Error parsing JSON5', (e));

This is not valid as the Error constructor takes only 1 argument: message?: string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions