Fixing the problems I have introduced in my last change.
This commit is contained in:
@@ -32,9 +32,9 @@ symbolCheck=$(jq -r ${jqQuery} < temp/optionChain.${symbol}.tmp.$$.json)
|
||||
if [[ "${symbol}" != "${symbolCheck}" ]]; then
|
||||
errMsg="ERROR: THE RESPONSE IS INCORRECT! Symbol: _${symbol}_ Check: _${symbolCheck}_ check file _temp/optionChain.${symbol}.tmp.$$.json_"
|
||||
if [[ "${ErrorLogLevel}" == "err" ]]; then
|
||||
throw ${errMsg} ${ErrorLogLevel} 2
|
||||
throw "${errMsg}" ${ErrorLogLevel} 2
|
||||
else
|
||||
log ${errMsg} ${ErrorLogLevel}
|
||||
log "${errMsg}" ${ErrorLogLevel}
|
||||
fi
|
||||
else
|
||||
jq < temp/optionChain.${symbol}.tmp.$$.json
|
||||
|
||||
Reference in New Issue
Block a user