Title: [284262] trunk/Tools
Revision
284262
Author
[email protected]
Date
2021-10-15 12:13:29 -0700 (Fri, 15 Oct 2021)

Log Message

Make submit to ews error messages readable
https://bugs.webkit.org/show_bug.cgi?id=231824

Reviewed by Ryan Haddad.

* CISupport/ews-app/ews/views/submittoews.py:
(SubmitToEWS.post):

Modified Paths

Diff

Modified: trunk/Tools/CISupport/ews-app/ews/views/submittoews.py (284261 => 284262)


--- trunk/Tools/CISupport/ews-app/ews/views/submittoews.py	2021-10-15 19:12:06 UTC (rev 284261)
+++ trunk/Tools/CISupport/ews-app/ews/views/submittoews.py	2021-10-15 19:13:29 UTC (rev 284262)
@@ -58,11 +58,11 @@
 
         rc = BugzillaPatchFetcher().fetch([patch_id])
         if rc == ERR_UNABLE_TO_FETCH_PATCH:
-            return HttpResponse('EWS is unable to access patch {}. Please ensure that this patch is publicly accessible or has r? set.'.format(patch_id))
+            return HttpResponse('Set r? on patch, EWS is currently unable to access patch {}.'.format(patch_id))
         if rc == ERR_OBSOLETE_PATCH:
-            return HttpResponse('Patch {} is obsolete, not submitting to EWS.'.format(patch_id))
+            return HttpResponse('Obsolete Patch: {}, not submitting to EWS.'.format(patch_id))
         if rc == ERR_BUG_CLOSED:
-            return HttpResponse('Bug for patch {} is closed, not submitting to EWS.'.format(patch_id))
+            return HttpResponse('Closed Bug for patch: {}, not submitting to EWS.'.format(patch_id))
 
         if request.POST.get('next_action') == 'return_to_bubbles':
             return redirect('/status-bubble/{}'.format(patch_id))

Modified: trunk/Tools/ChangeLog (284261 => 284262)


--- trunk/Tools/ChangeLog	2021-10-15 19:12:06 UTC (rev 284261)
+++ trunk/Tools/ChangeLog	2021-10-15 19:13:29 UTC (rev 284262)
@@ -1,3 +1,13 @@
+2021-10-15  Aakash Jain  <[email protected]>
+
+        Make submit to ews error messages readable
+        https://bugs.webkit.org/show_bug.cgi?id=231824
+
+        Reviewed by Ryan Haddad.
+
+        * CISupport/ews-app/ews/views/submittoews.py:
+        (SubmitToEWS.post):
+
 2021-10-15  Wenson Hsieh  <[email protected]>
 
         REGRESSION (r284079): [Debug] IPCTestingAPI.CanReceiveSharedMemory is timing out
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to