Fixing the problems I have introduced in my last change.
This commit is contained in:
@@ -14,7 +14,7 @@ jqQuery=".\"${symbol}\".symbol"
|
||||
symbolCheck=$(jq -r ${jqQuery} < temp/quote.${symbol}.tmp.$$.json)
|
||||
if [[ "${symbol}" != "${symbolCheck}" ]]; then
|
||||
errMsg="ERROR: THE RESPONSE IS INCORRECT! Symbol: _${symbol}_ Check: _${symbolCheck}_ check file _temp/quote.${symbol}.tmp.$$.json_"
|
||||
throw ${errMsg} err 2
|
||||
throw "${errMsg}" err 2
|
||||
else
|
||||
quoteFileName=$(date "+%Y-%m-%d %H_%M_%S")_quote.${symbol}.json
|
||||
#echo writing to file "${outDir}/${quoteFileName}"
|
||||
|
||||
Reference in New Issue
Block a user