[SERVER-8317] Improve error reporting in V8 Created: 24/Jan/13 Updated: 15/Feb/13 Resolved: 25/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
There are a bunch of places in v8_db.cpp that catch exceptions and then blindly throw a v8 exception that always just says "socket exception". In some of my testing, this was reporting "socket exception" even on other types of errors. Should be trivial to at least take the error message out of the caught exception and use that instead (this is what we do in spidermonkey). |
| Comments |
| Comment by Tad Marshall [ 24/Jan/13 ] |
|
Dupe of |