def _wrapper(self, q, start):
try:<EOL><INDENT>func_name = self.fnc.__name__<EOL><DEDENT>except AttributeError:<EOL><INDENT>func_name = str(self.fnc)<EOL><DEDENT>logger.debug("<STR_LIT>"<EOL>% (func_name, str(self.kwargs), round(time.time() - start), self.timeout))<EOL>try:<EOL><INDENT>result = self.fnc(**self.kwargs)<EOL>logger.debug("<STR_LIT>", str(result)[:<NUM_LIT:50>])<EOL>q.put(result)<EOL><DEDENT>except self.expected_exceptions as ex:<EOL><INDENT>logger.debug("<STR_LIT>", ex)<EOL>q.put(False)<EOL><DEDENT>except Exception as ex:<EOL><INDENT>logger.debug("<STR_LIT>", ex)<EOL>q.put(ex)<EOL><DEDENT>
_wrapper checks return status of Probe.fnc and provides the result for process managing

:param q:     Queue for function results
:param start: Time of function run (used for logging)
:return:      Return value or Exception