[Forensics-changes] [yara] 182/415: Improve error reporting in yara-python
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit 75c0f2ce836a07133c1ce89b88691b5679ab2f69
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Wed Jun 26 15:01:30 2013 +0000
Improve error reporting in yara-python
---
yara-python/yara-python.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index 1335fc5..e43b5d7 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -598,7 +598,8 @@ PyObject* handle_error(
default:
return PyErr_Format(
YaraError,
- "unknown error");
+ "internal error: %d",
+ error);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list