diff --git a/dandiapi/api/management/commands/migrate_published_version_metadata.py b/dandiapi/api/management/commands/migrate_published_version_metadata.py index df648acc4..2ebb82161 100644 --- a/dandiapi/api/management/commands/migrate_published_version_metadata.py +++ b/dandiapi/api/management/commands/migrate_published_version_metadata.py @@ -26,7 +26,7 @@ def migrate_published_version_metadata(*, dandiset: str, published_version: str, try: metanew = migrate(metadata, to_version=to_version, skip_validation=False) - except Exception as e: # noqa: BLE001 + except Exception as e: click.echo(f'Failed to migrate {dandiset}/{published_version}') click.echo(e) raise click.Abort from e