On 12 December 2012 20:15, helix84 <[email protected]> wrote:
> Hi Ian,
>
> I don't know about shortening the stacktrace, but that's a pretty
> generic Java question so you may try googling around.

I dont think there is a way other than changing the Cocoon code,
blocking the logger or not throwing the exception and setting a 404
status code in the Dspace code. I might just do the latter.

>
> To answer at least a part of your question, this is where 404s are
> handled in Cocoon. You may want to edit the XSL to filter what you
> send to the user for specific exceptions and leave the rest (the
> unexpected ones) as stacktraces.
>
> https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/webapp/sitemap.xmap#L673
>

Ok, thanks for the pointer.

Ian


>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to