diff options
-rwxr-xr-x | gbp/scripts/pq.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py index fc205bf2..05e5660c 100755 --- a/gbp/scripts/pq.py +++ b/gbp/scripts/pq.py @@ -174,8 +174,8 @@ def import_quilt_patches(repo, branch, series, tries, force): gbp.log.debug("Applying %s" % patch.path) try: apply_and_commit_patch(repo, patch, maintainer, patch.topic) - except (GbpError, GitRepositoryError): - gbp.log.err("Failed to apply '%s'" % patch.path) + except (GbpError, GitRepositoryError) as e: + gbp.log.err("Failed to apply '%s': %s" % (patch.path, e)) repo.set_branch(branch) repo.delete_branch(pq_branch) break |