提交 b1effdc1 编写于 作者: X xinking129

fix interface description

Signed-off-by: Nxinking129 <xinxin13@huawei.com>
上级 a949cca2
......@@ -42,7 +42,7 @@ let observer = {
onException(errorObj) {
console.log('onException, name: ', errorObj.name);
console.log('onException, message: ', errorObj.message);
if (typeof(errorObject.stack) === 'string') {
if (typeof(errorObj.stack) === 'string') {
console.log('onException, stack: ', errorObj.stack);
}
}
......
......@@ -57,10 +57,10 @@ let observer = {
onUnhandledException(errorMsg) {
console.error('onUnhandledException, errorMsg: ', errorMsg);
}
onException(errObject) {
onException(errorObj) {
console.log('onException, name: ', errorObj.name);
console.log('onException, message: ', errorObj.message);
if (typeof(errorObject.stack) === 'string') {
if (typeof(errorObj.stack) === 'string') {
console.log('onException, stack: ', errorObj.stack);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册