Jump to content

Topic on Extension talk:Scribunto/Flow

The log isn't displayed whenever an error occurs

3
Steff-X (talkcontribs)

Hi all. I am trying to debug some Scribunto modules but the log journal is not displayed when an error occurs.

As a consequence, you only get the details when everything goes right... and '''no''' details when it goes wrong.

This is frustrating and the opposite of what I expect.

Mr. Stradivarius (talkcontribs)

Do you mean the red "Script error" error messages that get displayed on wiki pages? You can click on those, and they will give you more details of what went wrong.

Steff-X (talkcontribs)

Sorry I was not specific enough.

In the debugging console, when an error occurs, it displays the error and the call stack but '''not''' the log buffer where all the mw.log and mw.logObject messages are stored.

Reply to "The log isn't displayed whenever an error occurs"