Skip to content

Commit 97c50ee

Browse files
committed
PR review
1 parent 4870d33 commit 97c50ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

module.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ void RegisterThread(const FunctionCallbackInfo<Value> &args) {
219219

220220
if (args.Length() != 1 || !args[0]->IsString()) {
221221
isolate->ThrowException(Exception::Error(
222-
String::NewFromUtf8(isolate,
223-
"threadStart(name) requires a single name argument",
224-
NewStringType::kInternalized)
222+
String::NewFromUtf8(
223+
isolate, "registerThread(name) requires a single name argument",
224+
NewStringType::kInternalized)
225225
.ToLocalChecked()));
226226

227227
return;

0 commit comments

Comments
 (0)