diff --git a/src/bun.js/bindings/ErrorCode.cpp b/src/bun.js/bindings/ErrorCode.cpp index 0a833206f6..84169453f0 100644 --- a/src/bun.js/bindings/ErrorCode.cpp +++ b/src/bun.js/bindings/ErrorCode.cpp @@ -2044,10 +2044,6 @@ JSC_DEFINE_HOST_FUNCTION(Bun::jsFunctionMakeErrorWithCode, (JSC::JSGlobalObject } } -#if BUN_DEBUG - ASSERT(false, "Improper use of @makeError! Add error function to ErrorCode.cpp and builtins.d.ts"); -#endif - auto&& message = callFrame->argument(1).toWTFString(globalObject); RETURN_IF_EXCEPTION(scope, {});