Update flask_server.py

This commit is contained in:
MacRimi
2025-10-26 22:58:56 +01:00
parent 05093a9d49
commit 0d7b278003

View File

@@ -5289,7 +5289,7 @@ def api_vm_config_update(vmid):
'error': config_result.stderr 'error': config_result.stderr
}), 500 }), 500
else: else:
return jsonify({'error': 'Failed to get VM return jsonify({'error': 'Failed to get VM details'}), 500
except Exception as e: except Exception as e:
print(f"Error updating VM configuration: {e}") print(f"Error updating VM configuration: {e}")
return jsonify({'error': str(e)}), 500 return jsonify({'error': str(e)}), 500