mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-23 06:20:01 +00:00
napi告警处理
Signed-off-by: chenlang <chenlang28@h-partners.com>
This commit is contained in:
parent
ea8aadbb05
commit
3deaf7c2e7
@ -265,7 +265,7 @@ napi_value napi_get_uri(napi_env env, napi_callback_info info)
|
||||
[](napi_env env, napi_status status, void* data) {
|
||||
SETTING_LOG_INFO("settingsnapi : uri promise async end called callback");
|
||||
AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data;
|
||||
SETTING_LOG_INFO("settingsnapi : uri promise end get callback value is %{public}s",
|
||||
SETTING_LOG_INFO("settingsnapi : uri promise end get callback value is %{public}s",
|
||||
asyncCallbackInfo->uri.c_str());
|
||||
napi_value result = wrap_string_to_js(env, asyncCallbackInfo->uri);
|
||||
napi_resolve_deferred(asyncCallbackInfo->env, asyncCallbackInfo->deferred, result);
|
||||
@ -676,7 +676,7 @@ napi_value napi_get_value(napi_env env, napi_callback_info info)
|
||||
SETTING_LOG_INFO("settingsnapi : promise async execute callback");
|
||||
AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data;
|
||||
SETTING_LOG_INFO("settingsnapi : promise get callback key is %{public}s", asyncCallbackInfo->key.c_str());
|
||||
SETTING_LOG_INFO("settingsnapi : promise get callback value is %{public}s",
|
||||
SETTING_LOG_INFO("settingsnapi : promise get callback value is %{public}s",
|
||||
asyncCallbackInfo->value.c_str());
|
||||
|
||||
std::vector<std::string> columns;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
* Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
Loading…
Reference in New Issue
Block a user