forked from getsentry/sentry-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanitize circular dependencies with a string representation.
Circular dependencies and JSON serialization don't play well together. Depending on the library it might throw a SystemStackTooDeep or even segfault the interpreter. Here we replace the circular depency with a "[...]" or "{...}" string representation that should make it clear later on what happened.
- Loading branch information
Jonas Pfenniger
committed
Jul 9, 2013
1 parent
299f326
commit 7350b7d
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters