Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of detail in error messages #116

Open
JosephVTK opened this issue Nov 6, 2022 · 0 comments
Open

Lack of detail in error messages #116

JosephVTK opened this issue Nov 6, 2022 · 0 comments

Comments

@JosephVTK
Copy link
Contributor

Regarding https://www.tbamud.com/forum/2-general/5535-custom-auto-exits-issue-i-must-be-missing-something


Error messages due to script faults and other failings lack a lot of detail that they could otherwise easily apply.

This below is an example error message from wdoor.

:: SCRIPT ERROR: Room 55618 :: wdoor: invalid direction
:: SCRIPT ERROR: Mob (Hazel, the wellmaster, VNum 109):: mdoor: invalid direction

What direction? What are the direction options? What is invalid about the direction?

Nov 06 12:56:31 2022 :: SCRIPT ERROR: Room 8500 :: wdoor: invalid direction (arg == sooth) not found in:
  [ north east south west up down northwest northeast southeast southwest ]
Nov 06 12:56:31 2022 :: SCRIPT ERROR: Room 8500 :: wdoor: invalid door target (arg == 8501)

I propose going through and modifying the error messages to provide more context. This should make it far easier for people new to tbaMUD to self diagnose issues as well as help them provide those helping them with more information to go off of.

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

No branches or pull requests

1 participant