0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 12:16:11 -05:00

fix(ext/webgpu): don't crash while constructing GPUOutOfMemoryError (#24807)

(cherry picked from commit f6fad68d7b)
This commit is contained in:
Luca Casonato 2024-07-31 14:26:54 +02:00 committed by crowlkats
parent 95d7375d05
commit 55ae9bfc40
No known key found for this signature in database
GPG key ID: A82C9D461FC483E8

View file

@ -998,7 +998,7 @@ class InnerGPUDevice {
);
break;
case "out-of-memory":
constructedError = new GPUOutOfMemoryError();
constructedError = new GPUOutOfMemoryError("not enough memory left");
break;
case "internal":
constructedError = new GPUInternalError();