Skip to content

Commit d7435b7

Browse files
committed
Update dev emails; catch additional exceptions during publication data transfer
1 parent ca8e42b commit d7435b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

designsafe/apps/api/projects_v2/operations/project_publish_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,8 @@ def copy_publication_files(
460460
queue="indexing",
461461
)
462462
logger.debug("Finished copying publication files for %s", project_id)
463-
except PermissionError as exc:
463+
except (shutil.Error, PermissionError, OSError) as exc:
464+
logger.debug("Alerting due to data transfer failure for %s", project_id)
464465
logger.error(exc)
465466
send_project_permissions_alert(project_id, version, str(exc))
466467
raise exc

designsafe/settings/common_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def guid_filter(record):
498498
NEW_ACCOUNT_ALERT_EMAILS = os.environ.get('NEW_ACCOUNT_ALERT_EMAILS', 'no-reply@designsafe-ci.org,')
499499
PROJECT_ADMIN_USERS = ['ds_admin', 'prjadmin']
500500
PROJECT_ADMINS_EMAIL = ['maria@tacc.utexas.edu', 'gendlerk@tacc.utexas.edu']
501-
DEV_PROJECT_ADMINS_EMAIL = ['tbrown@tacc.utexas.edu', 'sgray@tacc.utexas.edu', 'vgonzalez@tacc.utexas.edu']
501+
DEV_PROJECT_ADMINS_EMAIL = ['tbrown@tacc.utexas.edu', 'sgray@tacc.utexas.edu', 'vgonzalez@tacc.utexas.edu', 'jrosenberg@tacc.utexas.edu']
502502

503503
###
504504
# Terms and Conditions

0 commit comments

Comments
 (0)