We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c35f64 commit 43ccdeaCopy full SHA for 43ccdea
Video/video.sh
@@ -239,7 +239,7 @@ else
239
240
wait_for_api_respond
241
while curl --noproxy "*" -H "Authorization: Basic ${BASIC_AUTH}" -sk --request GET ${NODE_STATUS_ENDPOINT} >/tmp/status.json; do
242
- session_id=$(jq -r "${JQ_SESSION_ID_QUERY}" /tmp/status.json)
+ session_id=$(jq -e "${JQ_SESSION_ID_QUERY}" /tmp/status.json || echo "null")
243
if [[ "$session_id" != "null" && "$session_id" != "" && "$session_id" != "reserved" && "$recording_started" = "false" ]]; then
244
echo "$(date -u +"${ts_format}") [${process_name}] - Session: $session_id is created"
245
return_list=($(bash ${VIDEO_CONFIG_DIRECTORY}/video_graphQLQuery.sh "$session_id"))
0 commit comments