Skip to content

Commit 509e747

Browse files
woileLee-W
authored andcommitted
fix(commands/changelog): add exception message when failing to find an incremental revision
1 parent 57859c0 commit 509e747

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commitizen/exceptions.py

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class InvalidCommitMessageError(CommitizenException):
123123

124124
class NoRevisionError(CommitizenException):
125125
exit_code = ExitCode.NO_REVISION
126+
message = "No tag found to do an incremental changelog"
126127

127128

128129
class NoCommandFoundError(CommitizenException):

0 commit comments

Comments
 (0)