Consistent error message

main
Bob Mottram 2021-05-20 12:43:26 +01:00
parent cfbd7f86eb
commit 859ec14ed7
1 changed files with 3 additions and 3 deletions

View File

@ -3962,7 +3962,7 @@ class PubServer(BaseHTTPRequestHandler):
saveJson(self.server.newswire,
newswireStateFilename)
except Exception as e:
print('ERROR saving newswire state, ' + str(e))
print('ERROR: saving newswire state, ' + str(e))
# remove any previous cached news posts
newsId = \
@ -6520,7 +6520,7 @@ class PubServer(BaseHTTPRequestHandler):
try:
saveJson(newswire, newswireStateFilename)
except Exception as e:
print('ERROR saving newswire state, ' + str(e))
print('ERROR: saving newswire state, ' + str(e))
if filename:
saveJson(newswireItem[votesIndex],
filename + '.votes')
@ -6575,7 +6575,7 @@ class PubServer(BaseHTTPRequestHandler):
try:
saveJson(newswire, newswireStateFilename)
except Exception as e:
print('ERROR saving newswire state, ' + str(e))
print('ERROR: saving newswire state, ' + str(e))
if filename:
saveJson(newswireItem[votesIndex],
filename + '.votes')