summaryrefslogtreecommitdiffstats
path: root/omaha_server/crash/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'omaha_server/crash/utils.py')
-rw-r--r--omaha_server/crash/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/omaha_server/crash/utils.py b/omaha_server/crash/utils.py
index 9291bff..1cceb76 100644
--- a/omaha_server/crash/utils.py
+++ b/omaha_server/crash/utils.py
@@ -116,7 +116,9 @@ def send_stacktrace_sentry(crash):
tags = {}
if crash.meta:
extra.update(crash.meta)
- tags['ver'] = crash.meta['ver']
+ ver = crash.meta.get('ver')
+ if ver:
+ tags['ver'] = ver
if crash.archive:
extra['archive_url'] = crash.archive.url