Skip to content
Snippets Groups Projects
Commit 5fd3e271 authored by dakkar's avatar dakkar
Browse files

only log preview error in dev mode

parent 2dfadc08
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,9 @@ watch(activityPub, async (uri) => {
if (response.type !== 'Note') return;
theNote.value = response['object'];
} catch (err) {
console.error(err);
if (_DEV_) {
console.error(`failed to extract note for preview of ${uri}`, err);
}
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment