Skip to content

Conversation

@kilo52
Copy link
Member

@kilo52 kilo52 commented Jan 30, 2026

Improves the error message in scount to give more details.

Adds the reportFileError() function to log an additional error message about the source file that produced an error. This gives more information to the user when the input is a directory, as only showing an error for the given directory does not make it clear which source file produced the error specifically.

Added the reportFileError() function to log an additional error message about
the source file that produced an error. This gives more information to the user
when the input is a directory, as only showing an error for the given directory
does not make it clear which source file produced the error specifically.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
@kilo52 kilo52 self-assigned this Jan 30, 2026
@kilo52 kilo52 added the Improvement Improvement of an existing feature label Jan 30, 2026
@kilo52 kilo52 linked an issue Feb 1, 2026 that may be closed by this pull request
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show Error Message of Affected Source File

2 participants