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:
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