On Wed, Dec 15, 2021 at 12:06 PM Ullrich Hafner <[email protected]>
wrote:

> I found the problem. Seems that during my merge the index.jelly file has
> been deleted.
>
> It would be nice though if Stapler would actually print the thing that is
> not found rather than writing just "Not Found“.
>

Set stapler.trace to get more debug information, both in response headers
and on 404 error pages. See #isTraceEnabled and fields of
https://javadoc.jenkins.io/component/stapler/org/kohsuke/stapler/Dispatcher.html

That wouldn't help all that much in this case, because Stapler doesn't know
whether index.jelly (or index.groovy) is missing, or whether a doIndex
method is missing (or perhaps even whether you intended to return a
different type).

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAMo7Pt%2BR0xhHiZBNZR0KTWmwLPWi7yb1wzxg26ho6AWp6xNUFA%40mail.gmail.com.

Reply via email to