Merge branch 'main' into avm99963-monorail
Merged commit cd4b3b336f1f14afa02990fdc2eec5d9467a827e
GitOrigin-RevId: e67bbf185d5538e1472bb42e0abb2a141f88bac1
diff --git a/framework/clientmon.py b/framework/clientmon.py
index cc4917c..f512f4d 100644
--- a/framework/clientmon.py
+++ b/framework/clientmon.py
@@ -18,6 +18,8 @@
from infra_libs import ts_mon
+
+# TODO: convert to FlaskJsonFeed while convert to Flask
class ClientMonitor(jsonfeed.JsonFeed):
"""JSON feed to track client side js errors in ts_mon."""
@@ -35,6 +37,8 @@
Dict of values used by EZT for rendering the page.
"""
+ # TODO: uncomment while convert to flask
+ # post_data = mr.request.values
post_data = mr.request.POST
errors = post_data.get('errors')
try:
@@ -50,3 +54,9 @@
logging.error('Problem processing client monitor report: %r', e)
return {}
+
+ # def GetClientMonitor(self, **kwargs):
+ # return self.handler(**kwargs)
+
+ # def PostClientMonitor(self, **kwargs):
+ # return self.handler(**kwargs)