We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98412a commit 59dde81Copy full SHA for 59dde81
app.py
@@ -540,7 +540,8 @@ def test_backup_with_context():
540
result = test_backup_with_context()
541
return jsonify({'success': True, 'message': result})
542
except Exception as e:
543
- 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)
544
+ return jsonify({'success': False, 'error': 'An internal error occurred.'}), 500
545
546
@app.route('/api/theme', methods=['POST'])
547
@login_required
0 commit comments