Open GoogleCodeExporter opened 8 years ago
It's a design issue, because the build-in Javascript error will be mapping to
build-in Python exception
static struct {
const char *name;
PyObject *type;
} SupportErrors[] = {
{ "RangeError", ::PyExc_IndexError },
{ "ReferenceError", ::PyExc_ReferenceError },
{ "SyntaxError", ::PyExc_SyntaxError },
{ "TypeError", ::PyExc_TypeError }
};
So, after translate the exception, the stack trace will be lost in the current
implementation.
I will work on it later, maybe add it to Exception object
Original comment by flier...@gmail.com
on 14 Jun 2013 at 6:43
Original issue reported on code.google.com by
russell....@gmail.com
on 4 Jun 2013 at 12:29