Make sure startup errors are not lost

Change-Id: I1f75c88d73086fbff956bf678e236efa04862473
Reviewed-on: http://review.couchbase.org/36837
Tested-by: Sriram Melkote <siri@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>