We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c642c commit 49bed6aCopy full SHA for 49bed6a
src/extensions/jwPointer/index.js
@@ -53,11 +53,15 @@ class PointerType {
53
}
54
55
get value() {
56
- return pointers.get(this.pointerID);
57
- if (value === undefined) {
+ try {
+ let value = pointers.get(this.pointerID);
58
+ if (value === undefined) {
59
+ return null;
60
+ }
61
+ return value;
62
+ } catch (e) {
63
return null;
64
- return value;
65
66
67
set value(value) {
@@ -74,7 +78,7 @@ class PointerType {
74
78
75
79
76
80
toString() {
77
- return this.pointerID.toString();
81
+ return Cast.toString(this.value);
82
83
84
toReporterContent() {
0 commit comments