diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-02-06 18:53:32 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-02-06 18:53:32 +0100 |
commit | fcf51896ea64862b43e651657ea775319c1abd31 (patch) | |
tree | 94070166c53d16897799537bca83ca5930b90511 /Bugzilla/WebService/Constants.pm | |
parent | a4362815ee6e840253a8d42e2bbe4c604f58cd15 (diff) | |
download | bugzilla-fcf51896ea64862b43e651657ea775319c1abd31.tar.gz bugzilla-fcf51896ea64862b43e651657ea775319c1abd31.tar.xz |
Bug 515568: handle_login() doesn't check $@ after eval
r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 7fd7e2ae8..a51389faa 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -112,6 +112,8 @@ use constant WS_ERROR_CODE => { invalid_user_group => 504, user_access_by_id_denied => 505, user_access_by_match_denied => 505, + # Fatal errors (must be negative). + unknown_method => -32601, }; # These are the fallback defaults for errors not in ERROR_CODE. |