Skip to content

Commit

Permalink
fix(ext/webgpu): don't crash while constructing GPUOutOfMemoryError (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Jul 31, 2024
1 parent 9e6288e commit f6fad68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/webgpu/01_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f6fad68

Please # to comment.