##// END OF EJS Templates
tasks: improve logging on failed tasks
super-admin -
r4867:49f6563f default
parent child Browse files
Show More
@@ -276,7 +276,11 b' class RequestContextTask(Task):'
276 raise Exception(
276 raise Exception(
277 'Unable to fetch required data from request: {}. \n'
277 'Unable to fetch required data from request: {}. \n'
278 'This task is required to be executed from context of '
278 'This task is required to be executed from context of '
279 'request in a webapp'.format(repr(req)))
279 'request in a webapp. Task: {}'.format(
280 repr(req),
281 self
282 )
283 )
280
284
281 if req:
285 if req:
282 # we hook into kwargs since it is the only way to pass our data to
286 # we hook into kwargs since it is the only way to pass our data to
General Comments 0
You need to be logged in to leave comments. Login now