annefried/swan

Fix upload with pre-defined targets

stgrue opened this issue · 0 comments

When uploading multiple texts with pre-defined targets, of which some (but not all) contain invalid spans or XML/JSON, the upload fails for more texts than just the ones with invalid spans.
Moreover, there should be error messages detailing which files are invalid.