Skip to content

Commit

Permalink
pushlog: add a newline to the exception logging output
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : 8da66e9dad36b40f80790e6f1af84fba367ce9ad
  • Loading branch information
cgsheeh committed Jan 15, 2022
1 parent fd26835 commit d5370dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hgext/pushlog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def pushlog_tr_post_close(tr):
except sqlite3.OperationalError as e:
repo.ui.write(b'error committing pushlog transaction on'
b' attempt %d; retrying\n' % (attempt + 1))
repo.ui.log(b'pushlog', b'Exception: %s' % pycompat.bytestr(e))
repo.ui.log(b'pushlog', b'Exception: %s\n' % pycompat.bytestr(e))
time.sleep(attempt * 1.0)
else:
raise error.Abort(b'could not complete push due to pushlog operational errors; '
Expand Down

0 comments on commit d5370dd

Please sign in to comment.