Skip to content

node:internal/process/promises:288 #9

@kilik128

Description

@kilik128

got this
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#".] {
code: 'ERR_UNHANDLED_REJECTION'
}

after check

// Generate image from prompt only
let image1 = await WomboDream.generateImage(1, "dog", token).catch((error) => {
// Handle the error here
console.error("Error occurred:", error);
});

it's
Error occurred: { detail: 'Invalid token' }

maybie just miss somethinks not sure like Bearer on token, ?

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