Skip to content

Commit

Permalink
Update ErrorCode.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Feb 8, 2025
1 parent 1445d4b commit 49da729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bun.js/bindings/ErrorCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ WTF::String ERR_INVALID_ARG_TYPE(JSC::ThrowScope& scope, JSC::JSGlobalObject* gl
result.append(expected_types.at(length - 1).toWTFString(globalObject));
}

result.append(". Received "_s);
determineSpecificType(JSC::getVM(globalObject), globalObject, result, actual_value);
RETURN_IF_EXCEPTION(scope, {});

Expand Down

0 comments on commit 49da729

Please sign in to comment.