mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 08:46:58 -05:00
Bit more logging
This commit is contained in:
parent
46790f50cf
commit
5d15abb120
@ -144,6 +144,8 @@ class PreviewUrlResource(Resource):
|
|||||||
consumeErrors=True
|
consumeErrors=True
|
||||||
)
|
)
|
||||||
self._cache[url] = observable
|
self._cache[url] = observable
|
||||||
|
else:
|
||||||
|
logger.info("Returning cached response")
|
||||||
|
|
||||||
og = yield make_deferred_yieldable(observable.observe())
|
og = yield make_deferred_yieldable(observable.observe())
|
||||||
respond_with_json_bytes(request, 200, og, send_cors=True)
|
respond_with_json_bytes(request, 200, og, send_cors=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user