diff options
author | wanghanlin <wanghanlin@corp.netease.com> | 2021-07-06 15:57:55 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-07-06 14:24:32 +0000 |
commit | 85207e699c352ca487546d710dea18c3adbe4b27 (patch) | |
tree | 7fed73465116c5bc5684514fecc76f68b8db652d /src/vcl/vcl_bapi.c | |
parent | 97c6e0d4d1fe634fac198e5de1757a24b9063767 (diff) |
vcl: print current app state for timeout
Type: fix
Signed-off-by: wanghanlin <wanghanlin@corp.netease.com>
Change-Id: Id701b1a1bee4e41b76d324ea05beb07ca57f825c
Diffstat (limited to 'src/vcl/vcl_bapi.c')
-rw-r--r-- | src/vcl/vcl_bapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vcl/vcl_bapi.c b/src/vcl/vcl_bapi.c index 23007837365..5928b541945 100644 --- a/src/vcl/vcl_bapi.c +++ b/src/vcl/vcl_bapi.c @@ -590,8 +590,8 @@ vcl_bapi_wait_for_wrk_state_change (vcl_bapi_app_state_t app_state) if (wrk->bapi_app_state == STATE_APP_FAILED) return VPPCOM_ECONNABORTED; } - VDBG (0, "timeout waiting for state %s (%d)", - vcl_bapi_app_state_str (app_state), app_state); + VDBG (0, "timeout waiting for state %s, current state %d", + vcl_bapi_app_state_str (app_state), wrk->bapi_app_state); vcl_evt (VCL_EVT_SESSION_TIMEOUT, vcm, bapi_app_state); return VPPCOM_ETIMEDOUT; |