Commit 22a6f54b authored by nanahira's avatar nanahira

logs

parent 52081a45
Pipeline #7604 failed with stages
in 1 minute and 26 seconds
......@@ -53,6 +53,7 @@ export default class PicsourceHeisi
}
async onConnect() {
this.logger.info(`Initializing pic source ${this.config.name}...`);
await this.getRandomUrl();
this.pics.addSource(this, this.ctx);
}
......@@ -78,6 +79,7 @@ export default class PicsourceHeisi
}
async fetchPicList() {
this.logger.info(`Fetching pic list from ${this.config.endpoint}...`);
try {
const content = await this.http.get(this.config.endpoint);
const urls = content
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment