Added error messages when loading a protocol fails

--HG--
branch : next