This is the mail archive of the gnats-devel@sources.redhat.com mailing list for the GNATS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for gnatsweb.pl


Hi,

When there is an gnats error, while submitting a pr,
the error message doesn't get returned.  Here is a patch to fix it.
I am using gnatsweb 2.8.2.

diff gnatsweb.pl gnatsweb.pl.new
1185c1185,1191
<       print_gnatsd_error($gnats::ERRSTR);
---
> 		my $page = "Error";
> 		print_header();
> 		page_start_html ( $page );
> 		page_heading ( $page, "GNATS Error" );
> 		print_gnatsd_error($gnats::ERRSTR);
> 		page_footer ( $page );
> 		page_end_html ( $page );


Thanks,
Lysander


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]