Max thanks for spending time on this.

I believe my question boils down to:

>       my $user = eval { Bugzilla::User->check($username) };

1. Does the check() call return a value we could test for error (rather
than parse an error message string), and
2. How can we avoid the scmbug process calling check() from dieing ?

You mentioned Bugzilla->error_mode(ERROR_MODE_DIE). That sounds like it
would lead the process to die. What is the "normal" error mode in which
the call to check() won't die, if there is one ?


From a design standpoint, I am not convinced that "eval" needs to be
part of the call to check(). But, if that's the state of things we'll
have to live with it.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to