Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
729acab7
...
729acab750a02c4ebad315440460b34e0ed5c801
authored
2013-10-12 22:50:36 -0700
by
Nathan Black
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
due to the fix for #547 backtrace is not always defined
1 parent
69b35953
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
729acab
...
...
@@ -194,7 +194,7 @@ var Casper = function Casper(options) {
notices
.
forEach
(
function
(
notice
)
{
console
.
error
(
c
.
colorize
(
notice
,
'COMMENT'
));
});
backtrace
.
forEach
(
function
(
item
)
{
(
backtrace
||
[])
.
forEach
(
function
(
item
)
{
var
message
=
fs
.
absolute
(
item
.
file
)
+
":"
+
c
.
colorize
(
item
.
line
,
"COMMENT"
);
if
(
item
[
'function'
])
{
message
+=
" in "
+
c
.
colorize
(
item
[
'function'
],
"PARAMETER"
);
...
...
Please
register
or
sign in
to post a comment