X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FParser%2FDBIx%2FClass.pm;fp=lib%2FSQL%2FTranslator%2FParser%2FDBIx%2FClass.pm;h=3af0d0476845a83b5a35a3a16d8ae0f98dee94e6;hb=10e3756737972e77ba1eb1dd00b28bce06543d7e;hp=c84f73ee9f2b7449b9a926b3771e548c9187d491;hpb=777738d07cfd6055a4f40b944a69329c6995df9a;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/SQL/Translator/Parser/DBIx/Class.pm b/lib/SQL/Translator/Parser/DBIx/Class.pm index c84f73e..3af0d04 100644 --- a/lib/SQL/Translator/Parser/DBIx/Class.pm +++ b/lib/SQL/Translator/Parser/DBIx/Class.pm @@ -173,7 +173,7 @@ sub parse { my $relsource = try { $source->related_source($rel) }; unless ($relsource) { - carp "Ignoring relationship '$rel' - related resultsource '$rel_info->{class}' is not registered with this schema\n"; + carp "Ignoring relationship '$rel' on '$moniker' - related resultsource '$rel_info->{class}' is not registered with this schema\n"; next; }; @@ -192,7 +192,7 @@ sub parse { for ( keys %{$rel_info->{cond}} ) { unless (exists $other_columns_idx{$_}) { - carp "Ignoring relationship '$rel' - related resultsource does not contain one of the specified columns: '$_'\n"; + carp "Ignoring relationship '$rel' on '$moniker' - related resultsource '@{[ $relsource->source_name ]}' does not contain one of the specified columns: '$_'\n"; next REL; } }