[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:
Duplicate
duplicates SERVER-7843 any V8 error during a query from the ... Closed
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 SERVER-7843 ?

Generated at Thu Feb 08 03:17:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.