Commit 071e8c8f authored by akhuziy's avatar akhuziy
Browse files

catching exception from recommendations

parent 192b8e8d
......@@ -176,7 +176,10 @@ def main():
if need_to_aggregate is True:
aggr = aggregator.get_aggregator(job_id, "pdf")
try:
recommendations = rcm.get_recommendations(aggr)
except:
recommendations = ["Error occured during recommendations generation"]
if args.output_dir is None:
merge_and_out(job_id, aggr, recommendations, args.type, cache)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment