diff --git a/lib/pione/command/pione-client.rb b/lib/pione/command/pione-client.rb index 7a0ea43..1c00684 100644 --- a/lib/pione/command/pione-client.rb +++ b/lib/pione/command/pione-client.rb @@ -352,7 +352,11 @@ def execute_tuple_space_provider end @tuple_space_provider = spawner.child_front rescue SpawnError => e - abort(e.message) + if termination? + Log::Debug.system(e.message) + else + abort(e.message) + end end end @spawner_threads.add(thread) @@ -372,7 +376,11 @@ def execute_task_worker begin Command::PioneTaskWorker.spawn(Global.features, @tuple_space.uuid) rescue SpawnError => e - abort(e.message) + if termination? + Log::Debug.system(e.message) + else + abort(e.message) + end end end end