]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
Extended debugging info on "we don't have that table".
[maypole.git] / lib / Maypole.pm
index 6063582201385de9af76e69b9d4ad6a494d39be7..9c67ad6be2329e7791fcfb0b0dd9c6a6471c7892 100644 (file)
@@ -130,7 +130,8 @@ sub is_applicable {
     $config->ok_tables || $config->ok_tables( $config->display_tables );
     $config->ok_tables( { map { $_ => 1 } @{ $config->ok_tables } } )
       if ref $config->ok_tables eq "ARRAY";
-    warn "We don't have that table ($self->{table})"
+    warn "We don't have that table ($self->{table}).\n".
+    "Available tables are: ".join (",", @{ $config->{display_tables} })
       if $self->debug
       and not $config->ok_tables->{ $self->{table} };
     return DECLINED() unless exists $config->ok_tables->{ $self->{table} };
@@ -404,7 +405,7 @@ Simon Cozens, C<simon@cpan.org>
 
 =head1 THANK YOU
 
-Danijel Milicevic, Jesse Scheidlower, Jody Belka, Marcus Ramberg,
+Danijel Milicevic, Jesse Sheidlower, Jody Belka, Marcus Ramberg,
 Mickael Joanne, Simon Flack, Veljko Vidovic and all the others who've
 helped.