aquiladev / ipfs-action

GitHub Action for upload to IPFS. Supports Pinata, Infura pinning service as well as direct upload.
https://dapps-delivery-guide.readthedocs.io/
MIT License
177 stars 46 forks source link

ERR_UNHANDLED_REJECTION #77

Open q9f opened 3 months ago

q9f commented 3 months ago

Job: https://github.com/q9f/cc/actions/runs/10597983589/job/29369435300

Trace:

Run aquiladev/ipfs-action@v0.3.1
  with:
    path: ./
    pinName: ipns.q9f.cc.bc1b4b2bc4d5375155f4085db98ad4ccb2aa756b
    service: pinata
    pinataKey: ***
    pinataSecret: ***
    pin: true
    timeout: 60000
    verbose: false
    host: ipfs.io
    port: 5001
    protocol: https
    headers: {}
node:internal/process/promises:289
            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 "#<Object>".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v20.13.1

Workflow:

https://github.com/q9f/cc/blob/bc1b4b2bc4d5375155f4085db98ad4ccb2aa756b/.github/workflows/ipfs.yml