Skip to content

"Thwack: Invalid options object during request." on simple GET #30

@ScottIsAFool

Description

@ScottIsAFool

When performing a simple GET call, I'm getting the following error message

"Thwack: Invalid options object during request. Check your event callbacks."

Code looks like this:

import thwack from 'thwack';

const app = async () => {
    try {
        const w = await thwack.get("https://github.com");
        let e = 1;
    }
    catch (er) {
        let o = 1;
    }

    let i = 1;
}

app();

Repro project can be downloaded here: thwack-test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions