fix: template defects
This commit is contained in:
@@ -45,7 +45,7 @@ def update_markdown_setting(setting_id):
|
||||
setting.template_setting_id = template_setting_id
|
||||
session.commit()
|
||||
return jsonify(setting.to_dict()), 200
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
return jsonify({"error": "failed to update setting"}), 500
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user