Skip to content
Snippets Groups Projects
Commit b86af820 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Add a bit of logging around superevent directory creation

parent 1ec29973
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,11 @@ def create_superevent(submitter, t_start, t_0, t_end, preferred_event,
issue_alert=False)
# Create superevent data directory
logger.debug('Creating directory {d} for {sid}'.format(d=s.datadir,
sid=s.superevent_id))
os.makedirs(s.datadir)
logger.debug('Directory {d} for {sid} should exist'.format(d=s.datadir,
sid=s.superevent_id))
# Issue all relevant alerts
if issue_alert:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment