getAlby / hub

Alby Hub - Your own lightning node connected to every app. Run anywhere. Become self-sovereign.
https://albyhub.com
Apache License 2.0
107 stars 21 forks source link

fix: change key already exists error to debug log #795

Closed rolznz closed 2 weeks ago

rolznz commented 2 weeks ago

fixes https://github.com/getAlby/hub/issues/769

This happens when node_id is included in both the channels backup event and the event publisher global properties.

I have updated the log to debug as the node_id must be part of the event properties. In this case, I think the log just does not need to be error level, as the event properties always take precedence over the global properties.