1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

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

This commit is contained in:
Luca Casonato 2024-07-31 14:26:54 +02:00 committed by GitHub
parent 9e6288ec61
commit f6fad68d7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();