From 3d7fd9aa2267c599a5cb06ba02073aa4fe6638e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 8 Feb 2016 22:44:15 +0100 Subject: [PATCH] src: replace usage of deprecated GetEndColumn PR-URL: https://github.com/nodejs/node/pull/5159 Reviewed-By: Ben Noordhuis --- src/node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node.cc b/src/node.cc index 0d4144f9ca3..74a4497f73c 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1470,8 +1470,8 @@ void AppendExceptionLine(Environment* env, // sourceline to 78 characters, and we end up not providing very much // useful debugging info to the user if we remove 62 characters. - int start = message->GetStartColumn(); - int end = message->GetEndColumn(); + int start = message->GetStartColumn(env->context()).FromJust(); + int end = message->GetEndColumn(env->context()).FromJust(); char arrow[1024]; int max_off = sizeof(arrow) - 2;