Backtraces garbled

bkayser's Avatar

bkayser

11 Feb, 2009 05:19 PM

Many of our issues include a stack trace our customer is sending. But in the issue page they are completely unreadable. I have to find the email and look at that instead.

Would be great if you could detect fixed text, code or just backtraces and preformat them in the issue rendering.

It's very apparent from emails. Of course if someone posted to the site they could use markdown to format it, unless they don't care to bother.

  1. 1 Posted by bkayser on 11 Feb, 2009 05:21 PM

    bkayser's Avatar

    This shows what the stacktraces look like when someone emails them:

    |2009-01-30T15:49:24.804+0000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|ThreadID=19;ThreadName=httpSSLWorkerThread-10002-0;_RequestID=6ab78a8d-a609-4fc9-9e85-878b4e041d95;|WebModule[]Exception caught

    /home/steve/glassfish/domains/domain1/applications/j2ee-modules/20090126184409/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:70:in dispatcher_finish': NilClass can't be coerced into Float (TypeError) from /home/steve/glassfish/domains/domain1/applications/j2ee-modules/20090126184409/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:41:indispatcher_finish' from /home/steve/glassfish/domains/domain1/applications/j2ee-modules/20090126184409/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:49:in dispatch_newrelic' from /home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/adapter/rails.rb:37:inserve_rails' from /home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/adapter/rails.rb:44:in call' from /home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/jruby/rack/rails.rb:145:incall' from /home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/handler/servlet.rb:17:in call' from :1 ...internal jruby stack elided... from #<class:01x51e7b969>.dispatcher_finish(/home/steve/glassfish/domains/domain1/applications/j2ee-modules/20090126184409/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:41) from NewRelic::DispatcherInstrumentation.dispatcher_finish(/home/steve/glassfish/domains/domain1/applications/j2ee-modules/20090126184409/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb:49) from NewRelic::DispatcherInstrumentation.dispatch_newrelic(/home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/adapter/rails.rb:37) from Rack::Adapter::Rails.serve_rails(/home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/adapter/rails.rb:44) from Rack::Adapter::Rails.call(/home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/jruby/rack/rails.rb:145) from JRuby::Rack::RailsSetup.call(/home/steve/glassfish/domains/domain1/generated/jsp/j2ee-modules/20090126184409/loader/rack/handler/servlet.rb:17) from Rack::Handler::Servlet.call(:1) from (unknown).(unknown)(:1) |#]

  2. 2 Posted by Kyle Neath (Git... on 13 Feb, 2009 03:02 PM

    Kyle Neath (GitHub Staff) 's Avatar

    We've had a lot of discussions around text formatting. I think what we're leaning toward is disabling markdown by default and trying to use something like Rick's human-formatting by default.

    I can't say we'll specifically target this problem (it's a pretty hard one to auto-detect when people mean code), but we'll keep it in mind when we get back around to revisiting text formatting.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac