View | Details | Raw Unified | Return to bug 48816
Collapse All | Expand All

(-)a/ucs-school-import/modules/ucsschool/http_api/import_api/tasks.py (+2 lines)
 Lines 92-97   def run_import_job(task, importjob_id): Link Here 
92
		runner.prepare_import()
92
		runner.prepare_import()
93
	except Exception as exc:
93
	except Exception as exc:
94
		logger.exception('An error occurred while preparing the import job: {}'.format(exc))
94
		logger.exception('An error occurred while preparing the import job: {}'.format(exc))
95
		if runner.logger:
96
			runner.logger.exception('An error occurred while preparing the import job: {}'.format(exc))
95
	else:
97
	else:
96
		# from here on we can log with the import logger
98
		# from here on we can log with the import logger
97
		runner.logger.info('-- Starting import job... --')
99
		runner.logger.info('-- Starting import job... --')

Return to bug 48816