We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4579dce commit 45a2a01Copy full SHA for 45a2a01
packages/cle-cli/src/commands/setup.ts
@@ -61,9 +61,13 @@ export async function setup(options: SetupOptions) {
61
62
logger.info('[+] Transaction Confirmed. Creating Setup Task')
63
const data = await dispatcher.queryTask(txhash)
64
+ if (!data) {
65
+ logger.error('[+] SETUP TASK FAILED. The task result not found \n')
66
+ return
67
+ }
68
const taskId = data.task?.id
69
if (!taskId) {
- logger.error('[+] SETUP TASK FAILED. \n')
70
71
return
72
}
73
logger.info(`[+] SETUP TASK STARTED. TASK ID: ${taskId}`)
0 commit comments