Add trace log and exception handling for provisioning failures