mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(ext/webgpu): don't crash while constructing GPUOutOfMemoryError (#24807)
This commit is contained in:
parent
9e6288ec61
commit
f6fad68d7b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue