mirror of https://gitlab.com/bashrc2/epicyon
More exception handling!
parent
97d6724e0d
commit
1e498daf25
|
@ -549,7 +549,12 @@ def _convertRSStoActivityPub(baseDir: str, httpPrefix: str,
|
||||||
except BaseException:
|
except BaseException:
|
||||||
print('Newswire strptime failed ' + str(dateStr))
|
print('Newswire strptime failed ' + str(dateStr))
|
||||||
continue
|
continue
|
||||||
|
try:
|
||||||
dateStr = dateStrWithOffset.strftime("%Y-%m-%dT%H:%M:%SZ")
|
dateStr = dateStrWithOffset.strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||||
|
except BaseException:
|
||||||
|
print('Newswire dateStrWithOffset failed ' +
|
||||||
|
str(dateStrWithOffset))
|
||||||
|
continue
|
||||||
|
|
||||||
statusNumber, published = getStatusNumber(dateStr)
|
statusNumber, published = getStatusNumber(dateStr)
|
||||||
newPostId = \
|
newPostId = \
|
||||||
|
|
Loading…
Reference in New Issue