Skip to content

Remove the internal debug messages.#1386

Open
drgrice1 wants to merge 1 commit intoopenwebwork:developfrom
drgrice1:remove-internal-debug
Open

Remove the internal debug messages.#1386
drgrice1 wants to merge 1 commit intoopenwebwork:developfrom
drgrice1:remove-internal-debug

Conversation

@drgrice1
Copy link
Member

The only place this is used is for error messages in lib/PGresponsegroup.pm. That is now reworked to use the PGcore::warning_message method instead. The internal_debug_messages is just not needed anymore in addition to the warning_message and debug_message methods. Furthermore, it is inappropriately named. It has "debug" in the name, but is used for error messages, not debugging messages.

Note that this depends on openwebwork/webwork2#2935 for webwork2 to work with this.

@somiaj
Copy link
Contributor

somiaj commented Mar 24, 2026

Anything particular to test with this?

@drgrice1
Copy link
Member Author

The problem that I posted in the corresponding webwork2 pull request is what I used to test this. The INSERT_RESPONSE and APPEND_RESPONSE calls in that problem are specifically for this.

The only place this is used is for error messages in
`lib/PGresponsegroup.pm`. That is now reworked to use the
`PGcore::warning_message` method instead. The `internal_debug_messages`
is just not needed anymore in addition to the `warning_message` and
`debug_message` methods. Furthermore, it is inappropriately named. It
has "debug" in the name, but is used for error messages, not debugging
messages.
@drgrice1 drgrice1 force-pushed the remove-internal-debug branch from b13662f to 110d9dd Compare March 24, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants