jenkins-bot has submitted this change and it was merged.

Change subject: Restore 'end/response' log event
......................................................................


Restore 'end/response' log event

This is used to send the buffered lint log messages (introduced in
5afb107db58e) and was probably lost in refactoring.

Change-Id: If4f3a02cfb08f51d824e674556b2fb617aeb05f7
---
M lib/api/apiUtils.js
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Arlolra: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/api/apiUtils.js b/lib/api/apiUtils.js
index 5996352..175c375 100644
--- a/lib/api/apiUtils.js
+++ b/lib/api/apiUtils.js
@@ -82,6 +82,8 @@
                        res.status(status);
                }
                res.send(body);
+               // Flush log buffer for linter
+               env.log('end/response');
        }
 };
 

-- 
To view, visit https://gerrit.wikimedia.org/r/315605
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If4f3a02cfb08f51d824e674556b2fb617aeb05f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Arlolra <abrea...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to