make the catched exceptions error diagnostics
Catch ProvisionException ASAP and create a diagnostic for it.

Fix #24