mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Avoid double slashes in sentry event URL
This commit is contained in:
parent
a1a261a886
commit
81709ed13d
@ -43,7 +43,7 @@ def run_tasks(tasks, ctx):
|
||||
}
|
||||
exc_id = sentry.get_ident(sentry.captureException(tags=tags))
|
||||
event_url = "{server}/search?q={id}".format(
|
||||
server=teuth_config.sentry_server, id=exc_id)
|
||||
server=teuth_config.sentry_server.strip('/'), id=exc_id)
|
||||
log.exception(" Sentry event: %s" % event_url)
|
||||
sentry_url_list = ctx.summary.get('sentry_events', [])
|
||||
sentry_url_list.append(event_url)
|
||||
|
Loading…
Reference in New Issue
Block a user