Skip to content

Commit 2c1e588

Browse files
committed
fix:AsyncTaskSynchronizer not show errorMsg
1 parent 4abbbde commit 2c1e588

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/AsyncTaskSynchronizer.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ public function __construct($taskKey, $ttl = 3600)
2727

2828
public function toArray() {
2929
return [
30-
'done'=>$this->done,
31-
'progress'=>$this->progress,
32-
'data'=>$this->data
30+
'done' =>$this->done,
31+
'progress' =>$this->progress,
32+
'data' =>$this->data,
33+
'errorMsg' =>$this->errorMsg
3334
];
3435
}
3536

0 commit comments

Comments
 (0)