fix: Broken call to the error page

pull/42/head
Raphaël Vinot 2019-04-05 14:05:54 +02:00
parent 35f4292ab0
commit e057f5b45f
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def tree(tree_uuid):
return render_template('tree.html', tree_json=tree_json, start_time=start_time,
user_agent=user_agent, root_url=root_url, tree_uuid=tree_uuid)
except NoValidHarFile as e:
return render_template('error.html', error_message=e.message)
return render_template('error.html', error_message=e)
@app.route('/', methods=['GET'])