Skip to content

Commit 6951563

Browse files
authored
Update update-conversions.js
1 parent 36efe50 commit 6951563

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

functions/lib/buzzlead/update-conversions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ module.exports = async ({ appSdk, storeId, auth }, order, appData) => {
6363
throw new Error(`Unexpected response status: ${response.status}`);
6464
}
6565
} catch (error) {
66+
if (error.response?.status === 412) {
67+
return null;
68+
}
6669
console.error('Error making request:', error);
6770
throw error;
6871
}

0 commit comments

Comments
 (0)