Minor logging tweaks

This commit is contained in:
Alex Gleason
2023-07-25 20:55:12 -05:00
parent ad48e4a787
commit 5b536040ce
2 changed files with 4 additions and 1 deletions

View File

@@ -29,7 +29,10 @@ function trackHashtags(event: Event): void {
.filter((tag) => tag[0] === 't')
.map((tag) => tag[1]);
if (!tags.length) return;
try {
console.info('tracking tags:', tags);
trends.addTagUsages(event.pubkey, tags, date);
} catch (_e) {
// do nothing