review the internal schema to allow to create schema without identifier; fix #513

This commit is contained in:
qdequele
2020-03-05 18:29:10 +01:00
parent 16a99aa95e
commit 86c3482cbd
11 changed files with 312 additions and 129 deletions

View File

@ -57,7 +57,7 @@ impl Server {
block_on(res.into_body().read_to_end(&mut buf)).unwrap();
let response: Value = serde_json::from_slice(&buf).unwrap();
if response["status"] == "processed" {
if response["status"] == "processed" || response["status"] == "error" {
eprintln!("{:#?}", response);
return;
}