Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Add line numbers to error output.#246

Open
coaster3000 wants to merge 1 commit intoModDamage:masterfrom
coaster3000:LineNumberReport
Open

Add line numbers to error output.#246
coaster3000 wants to merge 1 commit intoModDamage:masterfrom
coaster3000:LineNumberReport

Conversation

@coaster3000
Copy link
Copy Markdown
Contributor

This will make it easier to debug larger configs.

Do note that the log formatting is a little less neat from it now. This might need cleaning in future but its ok for what was needed.

The messed up part of log formatting is only the fact that the line numbers are placed in a spot that would make lines not unified if read side by side along a verbose output (Showing each line of config) but this doe snot matter since Its actually easier to spot out an error this way.

I TALKED TO MUCH GAH!

Excluding certain things that don't really relate to the script.
@coaster3000 coaster3000 added this to the 1.0 milestone Apr 23, 2014
@coaster3000
Copy link
Copy Markdown
Contributor Author

This may be part of the #227 multi config system when I merge that. I will wait on more progress on that before I merge this. Unless pushed by community for this to be added.

Hey you want this? Post some comments!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant