Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Fix an error which was thrown by the PresenceHandler _on_shutdown handler.#6640

Merged
richvdh merged 1 commit into
developfrom
rav/fix_presence_shutdown
Jan 6, 2020
Merged

Fix an error which was thrown by the PresenceHandler _on_shutdown handler.#6640
richvdh merged 1 commit into
developfrom
rav/fix_presence_shutdown

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented Jan 6, 2020

The exception looked like:

2020-01-06 10:05:01,649 - synapse.metrics.background_process_metrics - 214 - ERROR - presence.on_shutdown-0 - Background process 'presence.on_shutdown' threw an exception
Traceback (most recent call last):
  File "/venv/lib/python3.5/site-packages/synapse/metrics/background_process_metrics.py", line 212, in run
    return (yield result)
  File "/venv/lib/python3.5/site-packages/synapse/util/patch_inline_callbacks.py", line 190, in check_yield_points_inner
    result = yield d
AttributeError: 'DataStore' object has no attribute 'database'

Introduced (I think) by #6513

@richvdh richvdh requested a review from a team January 6, 2020 11:49
@richvdh richvdh merged commit ab4b4ee into develop Jan 6, 2020
@richvdh richvdh deleted the rav/fix_presence_shutdown branch January 6, 2020 14:34
babolivier pushed a commit that referenced this pull request Sep 1, 2021
…dler. (#6640)

* commit 'ab4b4ee6a':
  Fix an error which was thrown by the PresenceHandler _on_shutdown handler. (#6640)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants