Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'bug/gh140'

  • Loading branch information...
commit acb4cb557cedacc55a0f64e3bde401bbd380c4d0 2 parents fffe40c + da0430b
@slfritchie slfritchie authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/basho_bench_worker.erl
View
5 src/basho_bench_worker.erl
@@ -127,7 +127,9 @@ init([SupChild, Id]) ->
WorkerPid ! {init_driver, self()},
receive
driver_ready ->
- ok
+ ok;
+ {driver_failed, Why} ->
+ exit({init_driver_failed, Why})
end,
%% If the system is marked as running this is a restart; queue up the run
@@ -224,6 +226,7 @@ worker_idle_loop(State) ->
Caller ! driver_ready,
ok;
Error ->
+ Caller ! {init_driver_failed, Error},
DriverState = undefined, % Make erlc happy
?FAIL_MSG("Failed to initialize driver ~p: ~p\n", [Driver, Error])
end,
Please sign in to comment.
Something went wrong with that request. Please try again.