提交 72cd2a35 编写于 作者: Z zhangchao

ArkTs整改

Signed-off-by: Nzhangchao <zhangchao338@huawei.com>
上级 f69c94f3
......@@ -937,7 +937,7 @@ function preLaunch(context: featureAbility.Context): void {
cameraManager.prelaunch();
} catch (error) {
let err = error as BusinessError;
console.error(`prelaunch error. Code: ${error.code}, message: ${error.message}`);
console.error(`prelaunch error. Code: ${err.code}, message: ${err.message}`);
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册