FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: update the printed error stack in the default callback example by DavidCai1111 · Pull Request #6617 · nodejs/node · GitHub

/ node Public

doc: update the printed error stack in the default callback example - #6617

Closed
DavidCai1111 wants to merge 1 commit into
nodejs:masterfrom
DavidCai1111:optimize_fs_doc
Closed

doc: update the printed error stack in the default callback example#6617
DavidCai1111 wants to merge 1 commit into
nodejs:masterfrom
DavidCai1111:optimize_fs_doc

Conversation

DavidCai1111 commented May 6, 2016
edited
Loading

Copy link
Copy Markdown
Member
Checklist
  • documentation is changed or added
  • the commit message follows commit guidelines
Description of change

Update the error stack printed in the default callback example, matching the latest lib/fs.js.

nodejs-github-bot added the doc Issues and PRs related to the documentations. label May 6, 2016
DavidCai1111 changed the title doc:update the error stack printed by the default callback example doc:update the printed error stack in the default callback example May 6, 2016
DavidCai1111 changed the title doc:update the printed error stack in the default callback example doc: update the printed error stack in the default callback example May 6, 2016
mscdex added the fs Issues and PRs related to the fs subsystem / file system. label May 6, 2016

cjihrig commented May 6, 2016

Copy link
Copy Markdown
Contributor

LGTM, but maybe we should truncate the stack trace earlier than we currently are (move the <etc.> up and drop some additional frames). Keeping the stack trace up to date seems like it could become a bother.

Copy link
Copy Markdown
Member Author

@cjihrig done : = )

cjihrig commented May 6, 2016

Copy link
Copy Markdown
Contributor

Nice. LGTM.

jasnell commented May 6, 2016

Copy link
Copy Markdown
Member

+1 that's better. LGTM

claudiorodriguez pushed a commit that referenced this pull request May 15, 2016
Update the error stack printed in the default callback
example in the fs doc, matching the latest lib/fs.js.
Truncates the stack to make it easier to update in the future.

PR-URL: #6617
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

Copy link
Copy Markdown
Contributor

Landed in 32b46d9

evanlucas pushed a commit that referenced this pull request May 17, 2016
Update the error stack printed in the default callback
example in the fs doc, matching the latest lib/fs.js.
Truncates the stack to make it easier to update in the future.

PR-URL: #6617
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL