What would be a good commit type when adding more details to log statements (using Conventional Commits)
Asked Answered
B

1

5

I added more detail to a log statement eg

from logger.error('An error occurred') to logger.error('An error occurred for ${client.id})

what would be a good commit type to use under Conventional Commits?

Bermejo answered 17/10, 2022 at 9:4 Comment(0)
E
7

I'd consider that a bug fix (the bug being that there's not enough details in the log to follow up on errors), so I'd say this is simply something like:

fix: Add client id to error log message when frobnicating
Endsley answered 17/10, 2022 at 9:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.