@nsshunt/ststestrunner 1.1.166 → 1.1.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ststestrunner.cjs
CHANGED
|
@@ -2360,10 +2360,11 @@ var TestCaseFhir08 = class extends TestCaseFhirQueryBase {
|
|
|
2360
2360
|
} else throw error;
|
|
2361
2361
|
} else throw error;
|
|
2362
2362
|
}
|
|
2363
|
-
} else
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2363
|
+
} else if (retVal.status === 404) return null;
|
|
2364
|
+
else {
|
|
2365
|
+
const message = `Unknown return value for delete, retVal.status: [${retVal.status}], resource: [${JSON.stringify(resource)}]`;
|
|
2366
|
+
console.error(message);
|
|
2367
|
+
throw new Error(message);
|
|
2367
2368
|
}
|
|
2368
2369
|
};
|
|
2369
2370
|
};
|