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/08/26 02:53:56 UTC
[skywalking-client-js] 36/48: fix fix: name
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 6c37a84b10e0bb48f7122eea2ec0b0a6aaf18d9d
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Wed Feb 12 18:06:27 2020 +0800
fix
fix: name
---
src/services/base.ts | 4 ++--
src/services/types.d.ts | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/services/base.ts b/src/services/base.ts
index 521a28e..02c0c54 100644
--- a/src/services/base.ts
+++ b/src/services/base.ts
@@ -32,14 +32,14 @@ export default class Base {
col: 0,
errorInfo: '',
message: '',
- jsErrorPv: false,
+ isFirstPageJSErrorReport: false,
};
public traceInfo() {
// mark js error pv
if (!jsErrorPv && this.logInfo.category === ErrorsCategory.JS_ERROR) {
jsErrorPv = true;
- this.logInfo.jsErrorPv = true;
+ this.logInfo.isFirstPageJSErrorReport = true;
}
this.handleRecordError();
setTimeout(() => {
diff --git a/src/services/types.d.ts b/src/services/types.d.ts
index a0bdad9..0807b7d 100644
--- a/src/services/types.d.ts
+++ b/src/services/types.d.ts
@@ -40,5 +40,5 @@ export interface errorInfoFeilds {
line?: number;
col?: number;
errorInfo?: any;
- jsErrorPv?: boolean;
+ isFirstPageJSErrorReport?: boolean;
}