Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ def test_backup_with_context():
result = test_backup_with_context()
return jsonify({'success': True, 'message': result})
except Exception as e:
return jsonify({'success': False, 'error': str(e)}), 500
logger.error(f"Error in /api/test-backup endpoint for repository {repo_id}: {e}", exc_info=True)
return jsonify({'success': False, 'error': 'An internal error occurred.'}), 500

@app.route('/api/theme', methods=['POST'])
@login_required
Expand Down