commit 45f3afe4add071d5f60bae26ea9db0ab297de3b5
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Thu Sep 5 12:44:30 2013 +0200
Figure a way to turn on printing the stack trace when using --debug
pkgdb-cli | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pkgdb-cli b/pkgdb-cli
index 48aee80..5e64fb1 100755
--- a/pkgdb-cli
+++ b/pkgdb-cli
@@ -1216,4 +1216,5 @@ if __name__ == '__main__':
sys.exit(4)
except Exception, e:
print 'Error: {0}'.format(e)
+ logging.exception("Generic error catched:")
sys.exit(5)
Show replies by date