Skip to content

process: improve hrtime() error message#14324

Closed
Trott wants to merge 1 commit intonodejs:masterfrom
Trott:deawkwardize
Closed

process: improve hrtime() error message#14324
Trott wants to merge 1 commit intonodejs:masterfrom
Trott:deawkwardize

Conversation

@Trott
Copy link
Member

@Trott Trott commented Jul 17, 2017

Change error message from the form this format:

The "time" array must have a length of 2. Received length 0

...to this format:

The array "time" (length 0) must be length 2.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

process errors test

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

errors Issues and PRs related to JavaScript errors originated in Node.js core. process Issues and PRs related to the process subsystem. semver-major PRs that contain breaking changes and should be released in the next major version. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants