Changing text for API Error 0007 log warning (cont.)
This commit is contained in:
parent
2c09326c37
commit
53ca5b03ff
|
@ -516,7 +516,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, toRipe = decodeAddress(
|
||||
toAddress)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s:%s.', toAddress, status)
|
||||
logger.warn('API Error 0007: Could not decode address %s. Status: %s.', toAddress, status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + toAddress
|
||||
|
@ -666,7 +666,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, toRipe = decodeAddress(
|
||||
address)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s:%s.', address, status)
|
||||
logger.warn('API Error 0007: Could not decode address %s. Status: %s.', address, status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + address
|
||||
|
|
Loading…
Reference in New Issue
Block a user