You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dispatching::dialogue::Storage interface has two methods – update_dialogue and remove_dialogue, which both return a Result.
This result should be handled in the dialogue dispatcher and in case of an error, at least some logs should be written to the stderr. Or maybe even do panic!() because it seems to be an unrecoverable problem, if the storage returns an error.
The text was updated successfully, but these errors were encountered:
selevit
changed the title
Errors returned from Storage are swallowed in DialogueDispatcher
Errors returned from Storage are swallowed in the dispatcher
Oct 23, 2020
selevit
changed the title
Errors returned from Storage are swallowed in the dispatcher
Errors returned from Storage are ignored in the dispatcher
Oct 23, 2020
A
dispatching::dialogue::Storage
interface has two methods –update_dialogue
andremove_dialogue
, which both return aResult
.This result should be handled in the dialogue dispatcher and in case of an error, at least some logs should be written to the stderr. Or maybe even do
panic!()
because it seems to be an unrecoverable problem, if the storage returns an error.The text was updated successfully, but these errors were encountered: