Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/serious-llamas-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/functions-toolkit': patch
---

Improve log msg for timeouts
4 changes: 3 additions & 1 deletion src/SubscriptionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,9 @@ export class SubscriptionManager {
: await this.functionsRouter.timeoutRequests(requestCommitments)
return timeoutTx.wait(txOptions?.confirmations)
} catch (error) {
throw Error(`Failed to timeout requests:\n${error}`)
throw Error(
`Failed to timeout requests. Ensure commitments are correct, requests have not been fulfilled and were sent more than 5 minutes ago:\n${error}`,
)
}
}

Expand Down