cosmetic fix in journal logging (log basename only)

This commit is contained in:
2024-05-10 14:20:39 -05:00
parent a0f1895e6c
commit fa41d2e05e
5 changed files with 6 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ curl -s -X POST https://api.schwabapi.com/v1/oauth/token \
jq -e -r .access_token temp/accessTokenReqResp.$$.json > access_token.dat
if [[ $? -ne 0 ]]; then
errMsg="ERROR: GETTING THE ACCESS TOKEN FAILED! $(<temp/accessTokenReqResp.$$.json)"
systemd-cat -t "$0" -p err <<< ${errMsg}
systemd-cat -t "`basename $0`" -p err <<< ${errMsg}
>&2 echo "${errMsg}"
curl -d "" -X POST "https://deadswitch.kawomi.com/api/v1?topic=trade.schwab.error.getNewAccessToken&secs=1&email=joe@kawomi.com"
fi