mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	Have xnba.pm more gracefully recover from error conditions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -263,6 +263,9 @@ sub setstate { | ||||
| my $errored = 0; | ||||
| sub pass_along {  | ||||
|     my $resp = shift; | ||||
|     if ($resp->{error} and not ref $resp->{error}) { | ||||
| 	$resp->{error} = [ $resp->{error} ]; | ||||
|     } | ||||
|     if ($resp and ($resp->{errorcode} and $resp->{errorcode}->[0]) or ($resp->{error} and $resp->{error}->[0])) { | ||||
|         $errored=1; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user