src: assign ERR_SCRIPT_EXECUTION_* codes in C++#20147
Closed
joyeecheung wants to merge 2 commits intonodejs:masterfrom
Closed
src: assign ERR_SCRIPT_EXECUTION_* codes in C++#20147joyeecheung wants to merge 2 commits intonodejs:masterfrom
joyeecheung wants to merge 2 commits intonodejs:masterfrom
Conversation
Member
Author
BridgeAR
approved these changes
Apr 19, 2018
targos
approved these changes
Apr 19, 2018
TimothyGu
approved these changes
Apr 20, 2018
devsnek
approved these changes
Apr 20, 2018
jasnell
approved these changes
Apr 20, 2018
9d9ed80 to
f23cbcc
Compare
Member
Author
|
Some OS could not recognize |
Member
|
There is a failure on AIX: |
Member
Author
Member
Author
|
|
Also modifies the error messages so they include more information and are more consistent. - The message of ERR_SCRIPT_EXECUTION_INTERRUPTED now mentions SIGINT and the trailing period is dropped for consistency. - Added ERR_SCRIPT_EXECUTION_TIMEOUT and include the timeout in the message.
a8d458d to
83e5f70
Compare
Member
Author
|
Still cannot get the format specifiers on AIX. Might as well just use string streams instead of working around those macros since we may need more in node_errors.h in the future.
|
Member
Author
Member
|
Still lgtm |
TimothyGu
approved these changes
Apr 24, 2018
Member
Author
|
Landed in 3152b7c, thanks! |
joyeecheung
added a commit
that referenced
this pull request
Apr 25, 2018
Also modifies the error messages so they include more information and are more consistent. - The message of ERR_SCRIPT_EXECUTION_INTERRUPTED now mentions SIGINT and the trailing period is dropped for consistency. - Added ERR_SCRIPT_EXECUTION_TIMEOUT and include the timeout in the message. PR-URL: #20147 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
4 tasks
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src: assign ERR_SCRIPT_EXECUTION_* codes in C++
Also modifies the error messages so they include more information
and are more consistent.
SIGINT and the trailing period is dropped for consistency.
in the message.
The first commit is taken from #20146
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes