Skip to content

Commit 0d644c7

Browse files
committed
chore: Improve error logging format in napi_fatal_error function
1 parent 966b23a commit 0d644c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/host/cpp/RuntimeNodeApi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void napi_fatal_error(const char* location,
127127
size_t location_len,
128128
const char* message,
129129
size_t message_len) {
130-
log_error("Fatal error in Node-API: %.*s: %.*s",
130+
log_error("Fatal Node-API error: %.*s %.*s",
131131
static_cast<int>(location_len),
132132
location,
133133
static_cast<int>(message_len),

0 commit comments

Comments
 (0)