mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-03 03:02:13 +00:00
Consistent error message
This commit is contained in:
1 parent
cfbd7f86eb
commit
859ec14ed7
1 file changed
+3
-3
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user