Fix gss error reporting bug