summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/FileTransfer.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 17:50:26 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 17:50:26 +0100
commitb1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7 (patch)
treea86ee9bbd505b68d57a189418df152d48a1e852d /lib/Plugins/FileTransfer.cpp
parent3a62ede25114452938acb8e1a67006633b139efc (diff)
downloadabrt-b1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7.tar.gz
abrt-b1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7.tar.xz
abrt-b1336faa48bee2cdb7ef0486a5a4faa5c74f4fa7.zip
make exception handling lighter
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/FileTransfer.cpp')
-rw-r--r--lib/Plugins/FileTransfer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/FileTransfer.cpp b/lib/Plugins/FileTransfer.cpp
index 856a3264..8a88fefd 100644
--- a/lib/Plugins/FileTransfer.cpp
+++ b/lib/Plugins/FileTransfer.cpp
@@ -332,7 +332,7 @@ void CFileTransfer::Run(const char *pActionDir, const char *pArgs)
}
catch (CABRTException& e)
{
- warn_client(_("CFileTransfer::Run(): Cannot create and send an archive: ") + e.what());
+ warn_client(ssprintf(_("Can't create and send an archive: %s"), e.what()));
//update_client("CFileTransfer::Run(): Cannot create and send an archive: " + e.what());
}
unlink(archivename.c_str());
@@ -358,7 +358,7 @@ void CFileTransfer::Run(const char *pActionDir, const char *pArgs)
}
catch (CABRTException& e)
{
- warn_client(_("CFileTransfer::Run(): Cannot create and send an archive: ") + e.what());
+ warn_client(ssprintf(_("Can't create and send an archive: "), e.what()));
// update_client("CFileTransfer::Run(): Cannot create and send an archive: " + e.what());
}
unlink(archivename.c_str());