Should missing templates be reported to the user or to the admin
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all:
It looks like one of my trackers is being scanned by a search engine.
I want this since I am using it to get performance profiling data.
However the engine thinks that .../issue3?@template=empty is a valid
url. It's not. There is no empty template. As a result I get an email
logged on every hit. The user sees a 500 error with the message:
An error has occurred
A problem was encountered processing your request. The tracker
maintainers have been notified of the problem.
I am considering trapping the NoTemplate error and sending the
user the following message:
No template file exists for templating "issue" with template "empty"
(neither "issue.foo" nor "_generic.foo")
with a 200 or 500 status. I am leaning toward the 500 status.
Does anybody else think this is a good idea? Should this failure be
exposed to the user?
Thanks.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.