set send dingtalk message with delay

This commit is contained in:
bossgeekgo
2024-02-11 18:42:36 +08:00
parent e9bba46b50
commit 3d3a87bd79
3 changed files with 57 additions and 13 deletions
+2 -2
View File
@@ -258,11 +258,11 @@ async function mainLoop (hooks) {
throw err
}
case 'STARTUP_CHAT_ERROR_WITH_UNKNOWN_ERROR': {
hooks.errorEncounter.call(err)
hooks.errorEncounter.call([err.message, err.stack].join('\n'))
throw err
}
default: {
hooks.errorEncounter.call(err)
hooks.errorEncounter.call([err.message, err.stack].join('\n'))
throw err
}
}