Page MenuHomePhabricator

Replace old console.logs/errors that log to LogStash with 'throw error'
Closed, ResolvedPublic

Description

What/Why:
Now that logs come through with informative, filled-in messages, the logs that do not use this format, aka. the older ones produced via console.error and console.log stick out like a sore thumb in LogStash. These errors should be 'thrown' instead.

How:
These are coming from schemata; replace them with 'throw error'

Event Timeline

ecarg renamed this task from Fix older logs that are auto-generated to console to Replace old console.logs/errors that log to LogStash with 'throw error' .Jul 18 2024, 11:03 PM
ecarg updated the task description. (Show Details)
ecarg updated the task description. (Show Details)

Change #1064031 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-07-19-164024 to 2024-08-13-135124

https://gerrit.wikimedia.org/r/1064031

Change #1064032 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-07-23-225548 to 2024-08-16-153209

https://gerrit.wikimedia.org/r/1064032

Change #1064031 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-07-19-164024 to 2024-08-13-135124

https://gerrit.wikimedia.org/r/1064031

Change #1064032 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-07-23-225548 to 2024-08-16-153209

https://gerrit.wikimedia.org/r/1064032

Change #1070964 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5b29ba9)

https://gerrit.wikimedia.org/r/1070964

Change #1070964 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5b29ba9)

https://gerrit.wikimedia.org/r/1070964