MB-11697: improved collect infos error handler

[alk@tut.by: fixed typo]
[alk@tut.by: added ticket reference]

Change-Id: Ic69a51ecaa5f15ccee049bb511e49425acdb23fe
Reviewed-on: http://review.couchbase.org/40170
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>