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,9 +36,12 @@ async function processCurrentLandUseClassifications(
if(error instanceof ArgumentError && error.argumentName === 'landUseUpdate') { if(error instanceof ArgumentError && error.argumentName === 'landUseUpdate') {
error.argumentName = 'buildingUpdate'; error.argumentName = 'buildingUpdate';
} }
if(error instanceof TypeError && error.argumentName === 'landUseGroupUpdate') {
} else {
throw error; throw error;
} }
} }
}
/** /**