added error catch when refactoring client modules.
added error catch when refactoring client modules.

bsmr-erlang/wrangler,tdb/wrangler,arcusfelis/wrangler,arcusfelis/wrangler,prowessproject/wrangler,andrzejsliwa/wrangler