After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596670 - Generate full stack trace in gjs_move_exception
Generate full stack trace in gjs_move_exception
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2009-09-28 21:38 UTC by C. Scott Ananian
Modified: 2009-09-29 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Generate-full-stack-trace-in-gjs_move_exception.patch (3.08 KB, patch)
2009-09-28 21:38 UTC, C. Scott Ananian
none Details | Review

Description C. Scott Ananian 2009-09-28 21:38:56 UTC
Created attachment 144204 [details] [review]
Generate-full-stack-trace-in-gjs_move_exception.patch

Import errors are currently getting truncated stack traces, because
gjs_move_exception throws away the stack information from the code which
triggered the import.

The attached patch adds the stack information from the triggering context to
the moved exception.
Comment 1 Havoc Pennington 2009-09-29 18:49:37 UTC
Patch looks good to me.
Comment 2 C. Scott Ananian 2009-09-29 19:45:18 UTC
Patch pushed.