Commit 071e8c8f authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
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")
recommendations = rcm.get_recommendations(aggr)
recommendations = rcm.get_recommendations(aggr)
recommendations = ["Error occured during recommendations generation"]
if args.output_dir is None:
merge_and_out(job_id, aggr, recommendations, args.type, cache)
Supports Markdown
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