mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 23:10:20 +00:00
Bit more logging
This commit is contained in:
parent
46790f50cf
commit
5d15abb120
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,8 @@ class PreviewUrlResource(Resource):
|
|||
consumeErrors=True
|
||||
)
|
||||
self._cache[url] = observable
|
||||
else:
|
||||
logger.info("Returning cached response")
|
||||
|
||||
og = yield make_deferred_yieldable(observable.observe())
|
||||
respond_with_json_bytes(request, 200, og, send_cors=True)
|
||||
|
|
Loading…
Reference in a new issue