mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-04 05:22:25 +00:00
update frameworks/js/napi/app/app_manager/js_app_manager.cpp. Signed-off-by: 夏良伟 <xialiangwei1@huawei.com>
This commit is contained in:
parent
08e89a817b
commit
d9201c5b21
@ -401,7 +401,8 @@ private:
|
||||
if (ret == 0) {
|
||||
task.Resolve(env, CreateJsValue(env, ret));
|
||||
} else {
|
||||
task.Reject(env, CreateJsError(env, ret, "clear up application failed."));
|
||||
task->Reject(env, CreateJsError(env, AAFwk::CLEAR_APPLICATION_DATA_FAIL,
|
||||
"clear up application failed."));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user