sitespeedio / sitespeedio/browsertime

Create better error messages for broken scripts

Open
#2,248 0 comments 0 reactions 1 assignee View on GitHub

@soulgalore is already working on this.

Since Jan 9, 2025.

Dominant language
JavaScript
Stars
652
Forks
141
Avg merge
3h 56m
Merged PRs (30d)
5

Description

If you try a command that do not exist you get:

[2025-01-09 13:49:49] INFO: Mark run as failure with message: Cannot read properties of undefined (reading 'run')
[2025-01-09 13:49:49] ERROR: TypeError: Cannot read properties of undefined (reading 'run')

Maybe we could do something better here so we can actually see what is broken?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.