Fixed a minor drawback in command_handler_throw in module backend

Function command_handler_throw was always returning zero, which is not good in case of an error.