O
O
okuznetsov12018-06-13 10:47:50
Angular
okuznetsov1, 2018-06-13 10:47:50

Why is the re-call of all epics ignored when an error occurs?

Actions occur in the same widget / report, if we open the widget and an error occurs, then when the same widget is opened again, the same epics stop working and are ignored (respectively, redux does not create states for this report).
those. open the same widget for viewing one after another (once). After the first opening of the report/widget, if no error occurs, then the 2nd widget also works well (i.e. the same epics work well for the second widget). But if an error occurs (handled by the catch() block), then when opening all subsequent of the same widgets - epic - and will be ignored.
What is the reason for this behavior and what can you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
okuznetsov1, 2018-06-18
@okuznetsov1

understood, found the problem. after the report was opened for the first time, an error message should have come to catch, but it was not lost during transmission, while this error was "quenched" by the browser and it did not report it in the console. Therefore, it seemed that everything should work well, but for unknown reasons it "did not work"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question