Break and show error if update from repository not successful
Improved error (debug) message