Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321346

Summary: [Client] Improve JavaScript error handling
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.4   
Target Milestone: 1.4 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Tim Buschtoens CLA 2010-07-30 09:57:26 EDT
The error messages created by Request.js "_handleCompleted" are often not very useful, especially when we are unable to reproduce the error. We should try to collect and print more information (e.g. stackTrace) in the "catch" segment. This should work even if the client is NOT running in debug-mode.
Comment 1 Tim Buschtoens CLA 2010-12-10 10:18:43 EST
Fixed in CVS HEAD in Request.js

Now all easily avaiable informations are displayed.
Comment 2 Tim Buschtoens CLA 2010-12-10 12:24:03 EST
Reopend because i just found out that ie (at least version 9) provides more information in "e.message.quote". ("message" is actually a string itself...)
Comment 3 Tim Buschtoens CLA 2010-12-18 10:36:10 EST
I was mistaken, closing bug. ("qoute" is actually just a function of string i didn't know.)
Comment 4 Tim Buschtoens CLA 2011-01-14 09:40:17 EST
*** Bug 323004 has been marked as a duplicate of this bug. ***