<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_result(self, job, update_model=True):
 		""" 		registers finished runs 		Every time a run has finished, this function should be called 		to register it with the result logger. If overwritten, make 		sure to call this method from the base class to ensure proper 		logging. 		Parameters 		job: instance of hpbandster.distributed.dispatcher.Job 			contains all necessary information about the job 		update_model: boolean 			determines whether a model inside the config_generator should be updated 		"""

		if not job.exception is None:
			self.logger.warning("job {} failed with exception\n{}".format(job.id, job.exception))