Closed mmstick closed 6 years ago
@mmstick Why don't we use the same emit_error
as we do later in the install process, whereas now we're just running on_error
? Or is that the same thing?
@brs17 It's the same thing. When the UI receives the on_error
callback, it runs its own on_error
callback to switch over to the error view in advance. I've added a change in the installer that will ensure that it's on the error view when the install completes, in the event that the installer did not use that callback.
I can get the installer to handle that callback better in the script-to-rust
PR.
Requires https://github.com/pop-os/distinst/pull/140