Skip to content

Commit

Permalink
Slightly better error messages for when we detect an invalid interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jul 29, 2010
1 parent 8c87e64 commit 9739681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plparrot.c
Expand Up @@ -401,7 +401,7 @@ plperl6u_call_handler(PG_FUNCTION_ARGS)
Datum retval;
interp = p6_interp;
if(!interp) {
elog(ERROR,"Invalid Parrot interpreter!");
elog(ERROR,"Invalid Parrot interpreter for PL/Perl6u!");
}
retval = plperl6_call_handler(fcinfo);
interp = trusted_interp;
Expand All @@ -416,7 +416,7 @@ plperl6_call_handler(PG_FUNCTION_ARGS)
elog(NOTICE, "plperl6_call_handler");
interp = p6_interp;
if(!interp) {
elog(ERROR,"Invalid Parrot interpreter!");
elog(ERROR,"Invalid Parrot interpreter for PL/Perl6!");
}
PG_TRY();
{
Expand Down

0 comments on commit 9739681

Please sign in to comment.