From 367f2cd2957e25949b43f6e19eca1b97f61a068b Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 31 Aug 2010 02:41:48 +0000 Subject: [PATCH] make the message better if any table can not be opened git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 651219372..1616516b7 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -200,8 +200,9 @@ sub getobjattrs my $thistable = xCAT::Table->new($table, -create => 1, -autocommit => 0); if (!$thistable) { my $rsp; - $rsp->{data}->[0] = "Could not get the \'$thistable\' table."; + $rsp->{data}->[0] = "Could not open the \'$table\' table."; xCAT::MsgUtils->message("E", $rsp, $::callback); + next; } my @objlist = @{$objtypelist{$objtype}};