Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a8f96c

Browse files
committed
fix(cmd): don't catch progress handler exceptions
Fixesgitpython-developers#435
1 parentdb44286 commit7a8f96c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

‎doc/source/changes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Changelog
33
=========
44

5+
2.0.3 - Fixes
6+
=============
7+
8+
* Fix: progress handler exceptions are not caught anymore, which would usually just hide bugs
9+
previously.
10+
511
2.0.2 - Fixes
612
=============
713

‎git/cmd.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,7 @@ def _read_lines_from_fno(fno, last_buf_list):
113113
def_dispatch_single_line(line,handler):
114114
line=line.decode(defenc)
115115
iflineandhandler:
116-
try:
117-
handler(line)
118-
exceptException:
119-
# Keep reading, have to pump the lines empty nontheless
120-
log.error("Line handler exception on line: %s",line,exc_info=True)
121-
# end
116+
handler(line)
122117
# end dispatch helper
123118
# end single line helper
124119

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp