Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 60ea31e

Browse files
committed
fix: global error handle spin error
1 parent fe9c797 commit 60ea31e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/tcb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if (process.argv.length < 3) {
6060
program.parse(process.argv)
6161

6262
function errorHandler(err) {
63-
ora.stop()
63+
ora().stop()
6464
const stackIngoreErrors = ['TencentCloudSDKHttpException', 'TcbError']
6565
// 忽略自定义错误的错误栈
6666
if (err.stack && !stackIngoreErrors.includes(err.name)) {

0 commit comments

Comments
 (0)