attempt ignoring error

This commit is contained in:
Ed Chalstrey 2022-05-23 10:36:37 +01:00
parent f4ca5ccd62
commit fb319cd2f1

View File

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