From 64f8401574d0ad71be9eef15224e6fb514483ccb Mon Sep 17 00:00:00 2001 From: timriker Date: Wed, 30 Oct 2002 09:57:19 +0000 Subject: [PATCH] useful error info git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@564 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/modules.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blootbot/src/modules.pl b/blootbot/src/modules.pl index a3e5408..36e3204 100644 --- a/blootbot/src/modules.pl +++ b/blootbot/src/modules.pl @@ -375,7 +375,8 @@ sub AUTOLOAD { return if ($AUTOLOAD =~ /__/); # internal. my $str = join(', ', @_); - &ERROR("UNKNOWN FUNCTION CALLED: $AUTOLOAD ($str)"); + my ($package, $filename, $line) = caller; + &ERROR("UNKNOWN FUNCTION CALLED: $AUTOLOAD ($str) $filename line $line"); $AUTOLOAD =~ s/^(\S+):://g; -- 2.39.5