the full thing should go into the log i can't believe that that strings.toString(throwable) is used for logging thats pure for our page itself i think
johan On 5/31/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
This happened a few days ago, so I don't recall for sure, but I believe I was missing information from the cause exception which would have helped me diagnose my problem. There are two things I can think of that might help. We could: 1) take some extra precautions to only remove specific stuff we know doesn't matter and 2) always print full stack traces to the log/console but put the abbreviated exception in the error page. Johan Compagner wrote: > > Which part do you mis then? > because the root isn't cut of: > sb.append("Root cause:\n\n"); > outputThrowable(cause, sb, false); << false is don't stop at > wicket servlet. > > all other causes do stop at the wicket servlet (but those are mostly just > invocation target and so on) > > for all we just skip the: !(traceString.startsWith("sun.reflect.") > so that we don't have all those reflection stacks in it that don't give > you > any information then you already had. > > johan > > > On 5/30/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: >> >> >> while i like shorter stack traces in some sense, i've run into a couple >> of >> cases where the stack trace being shown by wicket cut out important >> information. could we review the code in Strings.toString(Throwable) to >> make sure we're really doing the right thing here? i'd rather have too >> much >> stack trace information from wicket than lose a key piece of info at a >> critical time. unless we can feel really sure we're not cutting out >> important information, i think we ought to err on the safe side. >> >> -- >> View this message in context: >> http://www.nabble.com/abbreviated-stack-traces-tf3837742.html#a10866083 >> Sent from the Wicket - Dev mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/abbreviated-stack-traces-tf3837742.html#a10895556 Sent from the Wicket - Dev mailing list archive at Nabble.com.