Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321346 - [Client] Improve JavaScript error handling
Summary: [Client] Improve JavaScript error handling
Status: CLOSED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 323004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-30 09:57 EDT by Tim Buschtoens CLA
Modified: 2011-01-14 09:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***