diff --git a/src/dawn/node/binding/GPUDevice.cpp b/src/dawn/node/binding/GPUDevice.cpp index 9ac8c2808a..4b512c8edc 100644 --- a/src/dawn/node/binding/GPUDevice.cpp +++ b/src/dawn/node/binding/GPUDevice.cpp @@ -496,6 +496,9 @@ void GPUDevice::pushErrorScope(Napi::Env env, interop::GPUErrorFilter filter) { case interop::GPUErrorFilter::kValidation: f = wgpu::ErrorFilter::Validation; break; + case interop::GPUErrorFilter::kInternal: + f = wgpu::ErrorFilter::Internal; + break; default: Napi::Error::New(env, "unhandled GPUErrorFilter value").ThrowAsJavaScriptException(); return;