When response isn't an valid json, nlohmann::json::parse() will cause a crash. This fixed it.
Type: fix
Differential D104
Fix crash when upload failed nannanko on Jul 6 2024, 5:10 PM. Authored by Tags None Referenced Files None Subscribers None
Details
When response isn't an valid json, nlohmann::json::parse() will cause a crash. This fixed it. Type: fix Verify that kazv doesn't crash when upload failed.
Diff Detail
Event TimelineComment Actions There is currently a lack of unit tests, and I'm not sure how to write them at the moment. I will add all related tests for uploading and downloading soon. Comment Actions
|