Skip to content

Commit 66e9947

Browse files
committed
style(shopify_admin): format bulk error handling
1 parent cbe47be commit 66e9947

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/providers/shopify_admin/runtime.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,11 +1091,9 @@ async function downloadShopifyAdminBulkResult(
10911091
signal: timeout.signal,
10921092
});
10931093
if (!response.ok) {
1094-
throw new ProviderRequestError(
1095-
502,
1096-
`shopify_admin bulk result download failed with HTTP ${response.status}`,
1097-
{ providerStatus: response.status },
1098-
);
1094+
throw new ProviderRequestError(502, `shopify_admin bulk result download failed with HTTP ${response.status}`, {
1095+
providerStatus: response.status,
1096+
});
10991097
}
11001098

11011099
const name = optionalString(input.fileName) ?? "shopify-bulk-operation-result.jsonl";

0 commit comments

Comments
 (0)