Please add additional logging when using EXTERNAL_SOURCE_*
Opened this issue · 1 comments
mariusa commented
Hello,
I've added an EXTERNAL_SOURCE_* which works only a few times, but fails on reload (original source responds with 404, although accessing it from browser works).
Trying to figure out what's happening.
The logging only mentions now
GET /ewikipedia-h10/en/7/70/Example.png?v=123 200
Would you please add another GET line for the original source, e.g.
GET original https://upload.wikimedia.org/wikipedia/en/7/70/Example.png?v=123
and errors?
Thanks
teohhanhui commented
Actually the error is already being logged.
See:
image-resizer/src/streams/sources/external.js
Lines 56 to 58 in ae6c7b3
and
image-resizer/src/streams/sources/external.js
Lines 62 to 63 in ae6c7b3