Revert "attempt ignoring error"

This reverts commit fb319cd2f1.
This commit is contained in:
Ed Chalstrey 2022-05-23 10:45:52 +01:00
parent fb319cd2f1
commit b5804c1f1c

View File

@ -36,10 +36,7 @@ async function processCurrentLandUseClassifications(
if(error instanceof ArgumentError && error.argumentName === 'landUseUpdate') {
error.argumentName = 'buildingUpdate';
}
if(error instanceof TypeError && error.argumentName === 'landUseGroupUpdate') {
} else {
throw error;
}
throw error;
}
}