提交 1454fcc2 编写于 作者: Z zhangchao 提交者: 章超123
上级 52a14157
...@@ -937,7 +937,7 @@ function preLaunch(context: featureAbility.Context): void { ...@@ -937,7 +937,7 @@ function preLaunch(context: featureAbility.Context): void {
cameraManager.prelaunch(); cameraManager.prelaunch();
} catch (error) { } catch (error) {
let err = error as BusinessError; 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.
先完成此消息的编辑!
想要评论请 注册