Permalink
Browse files

Add table to [import] error message.

  • Loading branch information...
1 parent b03b15c commit 164aac9b9f3a91d236b8db5d7cd096c46836c835 @racke racke committed Sep 13, 2004
Showing with 5 additions and 3 deletions.
  1. +2 −0 WHATSNEW-5.3
  2. +3 −3 lib/Vend/Table/Common.pm
View
2 WHATSNEW-5.3
@@ -54,6 +54,8 @@ Core
* Fix bug that prevented multiple-field searches from working, e.g.
sf=15:16:17:18.
+* Add table to [import] error message.
+
UI
--
View
6 lib/Vend/Table/Common.pm
@@ -1,6 +1,6 @@
# Vend::Table::Common - Common access methods for Interchange databases
#
-# $Id: Common.pm,v 2.36 2004-07-23 03:03:39 mheins Exp $
+# $Id: Common.pm,v 2.37 2004-09-13 12:42:18 racke Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -23,7 +23,7 @@
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
-$VERSION = substr(q$Revision: 2.36 $, 10);
+$VERSION = substr(q$Revision: 2.37 $, 10);
use strict;
package Vend::Table::Common;
@@ -1364,7 +1364,7 @@ EndOfRoutine
);
eval $format{$format};
- die errmsg("%s import failed: %s", $options->{name}, $@) if $@;
+ die errmsg("%s import into %s failed: %s", $options->{name}, $options->{table}, $@) if $@;
if($realfile) {
close IN
or die errmsg("%s %s: %s\n", errmsg("close"), $infile, $!);

0 comments on commit 164aac9

Please sign in to comment.