Skip to content

Commit 74dbdae

Browse files
committed
minor: 本地开发未配置回调地址时不提示
1 parent 2b4b933 commit 74dbdae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • bk-plugin-framework/bk_plugin_framework

bk-plugin-framework/bk_plugin_framework/envs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def compute_settings(settings: BaseSettings) -> dict:
4040
try:
4141
callback_host = default_settings.BK_API_URL_TMPL.format(api_name=default_settings.BK_APIGW_NAME)
4242
except Exception as e:
43-
logger.exception(f"set callback_host fail: {e}")
4443
if BKPAAS_ENVIRONMENT != "dev":
44+
logger.exception(f"set callback_host fail: {e}")
4545
raise
4646

4747
if BKPAAS_ENGINE_REGION == "ieod":

0 commit comments

Comments
 (0)