Skip to content

Commit

Permalink
adapt to new error namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 22, 2016
1 parent 0ded95b commit 66e74d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/YCP.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ getNs (const char * ns_name, const char * func_name)
{
y2error ("... for a Perl call of %s", func_name);
}
else if (isErrorNamespace(ns))
{
ns = NULL; // act like if it is error
y2error ("... runtime error for a Perl call of %s", func_name);
}
else
{
ns->initialize ();
Expand Down

0 comments on commit 66e74d6

Please sign in to comment.