Skip to content

Commit 8b1c534

Browse files
committed
Do not quit on API call on invalid object
Fix nwjs#1339
1 parent d39ff52 commit 8b1c534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/dispatcher_host.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void DispatcherHost::OnCallObjectMethodSync(
172172
<< " arguments:" << arguments;
173173

174174
Base* object = GetApiObject(object_id);
175-
CHECK(object) << "Unknown object: " << object_id
175+
LOG(WARNING) << "Unknown object: " << object_id
176176
<< " type:" << type
177177
<< " method:" << method
178178
<< " arguments:" << arguments;

0 commit comments

Comments
 (0)