From c4fb486f199cdea7826acce0ccea3a8382a8368c Mon Sep 17 00:00:00 2001 From: Julie Turner Date: Fri, 20 Dec 2024 12:26:47 +0000 Subject: [PATCH] Fixed issue with missing error behavior in resumableUpload --- packages/graph/files/resumableUpload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graph/files/resumableUpload.ts b/packages/graph/files/resumableUpload.ts index 055538ab6..3acd558c3 100644 --- a/packages/graph/files/resumableUpload.ts +++ b/packages/graph/files/resumableUpload.ts @@ -65,7 +65,7 @@ export async function getUploadSession(resuableUploadOptions: any): Promise<{ses const session = await graphPost(q, body(postBody)); // Create a new queryable for the upload session - const uploadQueryable = GraphQueryable(session.uploadUrl).using(CopyFrom(this, "replace", (k) => /(pre|init|send|parse|post|data)/i.test(k))); + const uploadQueryable = GraphQueryable(session.uploadUrl).using(CopyFrom(this, "replace", (k) => /(pre|init|send|parse|post|data|error)/i.test(k))); const resumableUpload = ResumableUpload(uploadQueryable);