Skip to content

Core/Scripting: Fix HotSwap.ScriptDir initialization error handling. - #32166

Open
glitterfartz wants to merge 2 commits into
TrinityCore:masterfrom
glitterfartz:fix-hotswap-init
Open

glitterfartz wants to merge 2 commits into
TrinityCore:masterfrom
glitterfartz:fix-hotswap-init

Conversation

@glitterfartz

Copy link
Copy Markdown

Misconfigured or empty HotSwap.ScriptDir config flag could cause the server to appear to load with no issue, but when the user attempts to run commands, it prints an error because it has failed to load the commands module.

Table command contains data for non-existant command 'wp modify'. Skipped.

Changes proposed:

  • Fix error handling in ScriptReloadMgr.cpp

Tests performed:

  • Builds and runs

Mis-configured or empty HotSwap.ScriptDir config flag could cause the server to appear to load with no issue, but when the user attempts to run commands, it prints an error because it has failed to load the commands module.

Table command contains data for non-existant command 'wp modify'. Skipped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant