Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error case improvement #2418

Merged
merged 5 commits into from
Mar 28, 2024
Merged

Error case improvement #2418

merged 5 commits into from
Mar 28, 2024

Conversation

jrchudy
Copy link
Member

@jrchudy jrchudy commented Mar 28, 2024

Now that we are storing the file name when a hatrac upload object is created, ermrestJS expects a file to be defined for the hatrac object. If not, ermrestJS will throw an error. This PR makes sure the file is defined before trying to create a hatrac file object and uses null for the value otherwise.

This should be merged when PR 1010 in ermrestJS is merged.

@jrchudy jrchudy self-assigned this Mar 28, 2024
@jrchudy jrchudy merged commit 77e469b into master Mar 28, 2024
1 check passed
@jrchudy jrchudy deleted the custom-filename branch March 28, 2024 20:39
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.

2 participants