You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/01/09 12:57:08 UTC

[skywalking-client-js] 26/32: add error info

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-client-js.git

commit ecf7e2a029e53820310f4c963fb96190b124edd2
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Wed Jan 8 11:37:51 2020 +0800

    add error info
---
 src/errors/promise.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/errors/promise.ts b/src/errors/promise.ts
index e8ae5c7..8767510 100644
--- a/src/errors/promise.ts
+++ b/src/errors/promise.ts
@@ -35,6 +35,7 @@ class PromiseErrors extends Base {
           grade: GradeTypeEnum.ERROR,
           errorUrl: url,
           message: event.reason,
+          errorInfo: event.reason,
         };
         this.traceInfo();
       } catch (error) {