Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Don't crash on NoMethodError when Perl is involved #224

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Jan 4, 2019

When using the YCP component system, an exception can make YaST segfault.

This removes the segfault and replaces it with a nil in y2log :-/
Further fixes, to propagate exceptions across Perl-Ruby border crossings, are desirable.

TODO: retarget this to SLE15-GA?

end

publish variable: :exception, type: "map"
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general change looks OK for me, I just miss more documentation in this module. Especially use cases ( exceptions when calling ruby code from non-ruby parts (includes e.g. also pkg bindings) ), how that variable exception looks like and who can set it. And maybe a paragraph in readme would make sense to point to this.

@jreidinger
Copy link
Member

lets convert it to draft as it is still WIP

@jreidinger jreidinger marked this pull request as draft November 13, 2020 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants