Dne 2022-01-05 22:31, David Díaz napsal:
https://github.com/yast/yast-yast2/blob/8c6f0fe1d8b82da1c76d227defa2cd447818e5fd/library/control/src/modules/InstError.rb#L110
https://github.com/yast/yast-yast2/blob/8c6f0fe1d8b82da1c76d227defa2cd447818e5fd/library/control/src/modules/ProductControl.rb#L1425

Thanks for the code pointers David, let me add the handlers for the beloved Internal Error popup (which mentions save_y2logs) and some other popups. Note that these are NOT translated.

https://github.com/yast/yast-ruby-bindings/blob/ecb36408ca9b1812fc2486bd2ef197dfc9b1241c/src/ruby/yast/wfm.rb#L217-L315

On the one hand, cleaning this up would help the users file better bugs,
on the other hand, exception handling code is harder to test than usual, so refactoring it is risky.

Martin

Reply via email to