Test the _throwFirstError option to Deps.flush
Implement Deps.flush(_throwFirstError: true})

This makes the first error hit during flush time
to be thrown rather than logged. The flush process
then continues and all other errors are still logged,
and the flush process completes.