ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse

Home Page:https://postmarks.glitch.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comments causing SQLite error

andypiper opened this issue · comments

I create a new bookmark, and then comment on it from a Mastodon account.

In the log, I'm seeing this

Actor https://social.lol/users/andypiper matches an allowlist item, marking comment visible
[Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: comments.url] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
}

The comment still shows up on the web page. I'm not sure how to further debug the SQLite error here.

I'm getting that same error as well