Skip to content

Commit

Permalink
Updating error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Nov 7, 2023
1 parent 9247d24 commit 9e698da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/oceandbs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def upload_files_to_ipfs(request_files, quote):
"content_type": content_type_retrieved
})
else:
print("Warning: 'Name' key not found in the IPFS response.")
print("Warning: 'name' key not found in the IPFS response.")
except json.JSONDecodeError:
print(f"Error parsing IPFS response for file '{file}'. Invalid JSON received.")
continue
Expand Down

0 comments on commit 9e698da

Please sign in to comment.