mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Downgrade broker clone FatalError to an Error
This commit is contained in:
parent
7583651bec
commit
e00942c021
1 changed files with 4 additions and 2 deletions
|
@ -2092,8 +2092,10 @@ detail::StoreHandleVal* Manager::MakeClone(const string& name, double resync_int
|
|||
auto handle = new detail::StoreHandleVal{*result};
|
||||
Ref(handle);
|
||||
|
||||
if ( ! handle->proxy.valid() )
|
||||
reporter->FatalError("Failed to create clone for data store %s", name.c_str());
|
||||
if ( ! handle->proxy.valid() ) {
|
||||
reporter->Error("Failed to create clone for data store %s", name.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
data_stores.emplace(name, handle);
|
||||
if ( ! iosource_mgr->RegisterFd(handle->proxy.mailbox().descriptor(), this) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue