Better debug logs on parsing failure

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-08-30 13:56:12 +02:00
parent 62202045cd
commit 88510f76d3
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 1 additions and 0 deletions

View File

@ -355,6 +355,7 @@ const actions = {
contacts.push(contact)
} catch (error) {
// PARSING FAILED
console.error('Error reading contact', item.url, item.data)
console.error(error)
failed++
}