Final catch for the IPC loop.
This commit is contained in:
parent
6a5496a393
commit
185a87431c
@ -382,6 +382,7 @@ end
|
|||||||
Context.service.base_timer = Context.timer_delay
|
Context.service.base_timer = Context.timer_delay
|
||||||
|
|
||||||
Context.service.loop do |event|
|
Context.service.loop do |event|
|
||||||
|
begin
|
||||||
case event
|
case event
|
||||||
when IPC::Event::Timer
|
when IPC::Event::Timer
|
||||||
Log.info "IPC::Event::Timer"
|
Log.info "IPC::Event::Timer"
|
||||||
@ -428,4 +429,7 @@ Context.service.loop do |event|
|
|||||||
Log.debug "IPC::Event::MessageReceived: #{event.fd}"
|
Log.debug "IPC::Event::MessageReceived: #{event.fd}"
|
||||||
raise "Not implemented."
|
raise "Not implemented."
|
||||||
end
|
end
|
||||||
|
rescue e
|
||||||
|
Log.error "IPC loop final catch: #{e}"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user