diff options
author | David Cramer <dcramer@gmail.com> | 2016-10-25 13:31:03 -0700 |
---|---|---|
committer | David Cramer <dcramer@gmail.com> | 2016-10-25 13:31:06 -0700 |
commit | edf58536f3b14f11aa5bf86b9e1d95a07ec9d6a8 (patch) | |
tree | 9c11b4e1bb055e702bc53123ebfaac36a55845c4 | |
parent | 7ca8746a8375d69f07de13103fcfbab91a868fc6 (diff) | |
download | raven-edf58536f3b14f11aa5bf86b9e1d95a07ec9d6a8.tar.gz |
Remove default transaction
This causes issues when things are not yet instrumented, and we're left with a useless transaction name which is identical for all operations.
-rw-r--r-- | raven/base.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/raven/base.py b/raven/base.py index 5d5a996..6ff424c 100644 --- a/raven/base.py +++ b/raven/base.py @@ -37,7 +37,7 @@ from raven.utils import json, get_versions, get_auth_header, merge_dicts from raven._compat import text_type, iteritems from raven.utils.encoding import to_unicode from raven.utils.serializer import transform -from raven.utils.stacks import get_stack_info, iter_stack_frames, slim_string +from raven.utils.stacks import get_stack_info, iter_stack_frames from raven.utils.transaction import TransactionStack from raven.transport.registry import TransportRegistry, default_transports @@ -188,9 +188,6 @@ class Client(object): self.environment = o.get('environment') or None self.release = o.get('release') or os.environ.get('HEROKU_SLUG_COMMIT') self.transaction = TransactionStack() - # find the root transaction as the command which launched this - # process - self.transaction.push(slim_string(' '.join(sys.argv), 128)) self.ignore_exceptions = set(o.get('ignore_exceptions') or ()) |