mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Merge branch 'master' into pro
* master: Handling missing histogram prometheus counter.
This commit is contained in:
commit
0883c20378
1 changed files with 2 additions and 0 deletions
|
@ -650,6 +650,8 @@ def clear_prometheus_aggregation_stats():
|
|||
elif os.path.isdir(file_path):
|
||||
shutil.rmtree(file_path)
|
||||
except Exception as e:
|
||||
if 'No such file' in str(e):
|
||||
return
|
||||
print('Failed to delete %s. Reason: %s' % (file_path, e))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue