Skip to content

console.log(not_existing_object) #3972

Closed
@gavrilovmilos

Description

I have this piece of code:

function (req, uiRes) {
    console.log(res) //code that comes after this line is never executed, no errors in console
    console.log("something")

    client.put('/something', someJSON, function(err, res, body) {...})
}

In the second line I tried to log the object 'res' that is not visible in the context. Strange thing is that the code that follows that line is never executed and there are no errors in console.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions