From 030d0c5f3e60bb8dac43a68f15f60cbe59b81609 Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Sat, 17 Jul 2010 01:19:23 -0400 Subject: [PATCH] os22: fix exception messages, to indicate where they came from --- opensync-plugin/src/vcard.cc | 4 ++-- opensync-plugin/src/vevent.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opensync-plugin/src/vcard.cc b/opensync-plugin/src/vcard.cc index 7422cf63..e005da87 100644 --- a/opensync-plugin/src/vcard.cc +++ b/opensync-plugin/src/vcard.cc @@ -71,7 +71,7 @@ bool VCardConverter::ParseData(const char *data) } catch( Barry::ConvertError &ce ) { - trace.logf("ERROR: Barry::ConvertError exception: %s", ce.what()); + trace.logf("ERROR: vcard:Barry::ConvertError exception: %s", ce.what()); return false; } @@ -97,7 +97,7 @@ void VCardConverter::operator()(const Barry::Contact &rec) } catch( Barry::ConvertError &ce ) { - trace.logf("ERROR: vCard::ConvertError exception: %s", ce.what()); + trace.logf("ERROR: vcard:Barry::ConvertError exception: %s", ce.what()); } } diff --git a/opensync-plugin/src/vevent.cc b/opensync-plugin/src/vevent.cc index bbe76995..4233befd 100644 --- a/opensync-plugin/src/vevent.cc +++ b/opensync-plugin/src/vevent.cc @@ -71,7 +71,7 @@ bool VEventConverter::ParseData(const char *data) } catch( Barry::ConvertError &ce ) { - trace.logf("ERROR: Barry::ConvertError exception: %s", ce.what()); + trace.logf("ERROR: vevent:Barry::ConvertError exception: %s", ce.what()); return false; } @@ -111,7 +111,7 @@ void VEventConverter::operator()(const Barry::Calendar &rec) } catch( Barry::ConvertError &ce ) { - trace.logf("ERROR: Barry::ConvertError exception: %s", ce.what()); + trace.logf("ERROR: vevent:Barry::ConvertError exception: %s", ce.what()); } } -- 2.11.4.GIT