Skip to content

Raise error when saving metadata without a service#1278

Open
coruscating wants to merge 4 commits intoqiskit-community:mainfrom
coruscating:update-save-metadata-error
Open

Raise error when saving metadata without a service#1278
coruscating wants to merge 4 commits intoqiskit-community:mainfrom
coruscating:update-save-metadata-error

Conversation

@coruscating
Copy link
Collaborator

@coruscating coruscating commented Sep 27, 2023

Summary

Closes #1134. Note that save() already raised an error when there's no service and suppress_errors is False, so this PR specifically handles the case when save_metadata() is invoked separately.

This also adds error handling for saving figures.

@coruscating coruscating requested a review from gadial September 27, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If experiment_data.save() fails it should raise an exception

1 participant