mirror of https://gitlab.com/bashrc2/epicyon
Consistent error message
parent
cfbd7f86eb
commit
859ec14ed7
|
@ -3962,7 +3962,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
saveJson(self.server.newswire,
|
saveJson(self.server.newswire,
|
||||||
newswireStateFilename)
|
newswireStateFilename)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('ERROR saving newswire state, ' + str(e))
|
print('ERROR: saving newswire state, ' + str(e))
|
||||||
|
|
||||||
# remove any previous cached news posts
|
# remove any previous cached news posts
|
||||||
newsId = \
|
newsId = \
|
||||||
|
@ -6520,7 +6520,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
try:
|
try:
|
||||||
saveJson(newswire, newswireStateFilename)
|
saveJson(newswire, newswireStateFilename)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('ERROR saving newswire state, ' + str(e))
|
print('ERROR: saving newswire state, ' + str(e))
|
||||||
if filename:
|
if filename:
|
||||||
saveJson(newswireItem[votesIndex],
|
saveJson(newswireItem[votesIndex],
|
||||||
filename + '.votes')
|
filename + '.votes')
|
||||||
|
@ -6575,7 +6575,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
try:
|
try:
|
||||||
saveJson(newswire, newswireStateFilename)
|
saveJson(newswire, newswireStateFilename)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('ERROR saving newswire state, ' + str(e))
|
print('ERROR: saving newswire state, ' + str(e))
|
||||||
if filename:
|
if filename:
|
||||||
saveJson(newswireItem[votesIndex],
|
saveJson(newswireItem[votesIndex],
|
||||||
filename + '.votes')
|
filename + '.votes')
|
||||||
|
|
Loading…
Reference in New Issue