eyre: turn sigpam into flog

This error is mostly harmless, but it does indicate we aren't cleaning
up our subscriptions properly.  This lets you silence with |knob.

fixes #2088
This commit is contained in:
Philip Monk 2019-12-14 00:43:04 -08:00
parent bfd2e533a1
commit 769a1c96af
No known key found for this signature in database
GPG Key ID: B66E1F02604E44EC

View File

@ -1590,8 +1590,8 @@
=/ channel=(unit channel)
(~(get by session.channel-state.state) channel-id)
?~ channel
~& [%received-event-for-nonexistent-channel channel-id]
[~ state]
:_ state :_ ~
[duct %pass /flog %d %flog %crud %eyre-no-channel >id=channel-id< ~]
::
=/ event-id next-id.u.channel
::