Skip to content
This repository was archived by the owner on Jun 18, 2021. It is now read-only.

node_report.cc: Fix CreateMessage call #88

Closed
wants to merge 1 commit into from

Conversation

hhellyer
Copy link
Contributor

This change fixes a compile failure caused by using a version of v8::Exception::CreateMessage that does not exist on Node.js releases earlier than 6.
On 6 and later the older version of CreateMessage is deprecated so the new version is used.

I have done CI runs against Node 4, 5 and 6 with this change:
https://ci.nodejs.org/view/post-mortem/job/nodereport-continuous-integration/162/
https://ci.nodejs.org/view/post-mortem/job/nodereport-continuous-integration/163/
https://ci.nodejs.org/view/post-mortem/job/nodereport-continuous-integration/165/

(Run 164 was a run of node-report/master against Node 4 to confirm I could reproduce the problem.)

This should resolve issue #87

This change fixes a compile failure caused by using a version of
v8::Exception::CreateMessage that does not exist on Node.js releases
earlier than 6.
On 6 and later the older version of CreateMessage is deprecated so
the new version is used.
@rnchamberlain
Copy link
Contributor

LGTM - landing this shortly

rnchamberlain pushed a commit that referenced this pull request May 24, 2017
This change fixes a compile failure caused by using a version of
v8::Exception::CreateMessage that does not exist on Node.js releases
earlier than 6.
On 6 and later the older version of CreateMessage is deprecated so
the new version is used.

PR-URL: #88
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Richard Chamberlain <[email protected]>
@rnchamberlain
Copy link
Contributor

Landed as fd29aa1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants