diff options
-rw-r--r-- | src/Hooks/abrt_exception_handler.py.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in index f4ebbb56..cbf88c85 100644 --- a/src/Hooks/abrt_exception_handler.py.in +++ b/src/Hooks/abrt_exception_handler.py.in @@ -112,9 +112,9 @@ def write_dump(pid, tb_uuid, tb): dd = ABRTUtils.CDebugDump() try: #os.mkdir(dir_name) - dd.Create(dir_name, str(os.getuid())) + dd.Create(dir_name, os.getuid()) except Exception, e: - syslog.syslog("abrt: Cannot create dir %s" % dir_name) + syslog.syslog("abrt: Cannot create dir %s %s" % (dir_name, e)) return # save executable fexecutable = open("%s/executable" % dir_name, "w") |