Skip to content

Commit 3e36863

Browse files
author
DDDBear
committed
修复原始错误被覆盖的bug
修复原始错误被覆盖的bug
1 parent 08de25f commit 3e36863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/painters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ define(
307307
+ 'of type ' + this.type + ' '
308308
+ 'because: ' + ex.message
309309
);
310-
error.actualError = error;
310+
error.actualError = ex;
311311
throw error;
312312
}
313313

0 commit comments

Comments
 (0)