dvanoni / notero

A Zotero plugin for syncing items and notes into Notion
MIT License
2.14k stars 94 forks source link

Zotero error console prints a lot of Javascript warnings #495

Open nicolnt opened 3 months ago

nicolnt commented 3 months ago

Describe the issue

I don't know if it's expected behavior to have tons of messages like the following:

[JavaScript Warning : "[Notero] Notified of modify item for IDs [3531]"]

To Reproduce

Steps to reproduce the behavior:

  1. Start Zotero
  2. Open "Error Console"
  3. Wait a minute before it start logging thos messages

Screenshots

image

dvanoni commented 3 months ago

Hey @nicolnt, thanks for bringing this up. It is expected but probably not desired. 😅

I've left it like this because it's useful for me to help folks with debugging if they can send a screenshot of these logs, but they do create a lot of noise in the error console. I've been meaning to add a configuration option to enable/disable these logs, but I haven't gotten around to it yet.

I should also mention that even though the messages say JavaScript Warning, these are actually just informational logs rather than warnings. For some reason, Zotero's logging system (at least in Zotero 6) outputs everything with that JavaScript Warning prefix.

nicolnt commented 3 months ago

OK, thank you very much! As there were a lot of them popping, I thought that something was wrong with syncing (some kind of syncing loop). I let you close the issue if you feel like to!