--- smsdaemon/plugins/WeatherPlugin.cpp 2008/12/18 06:47:26 195 +++ smsdaemon/plugins/WeatherPlugin.cpp 2008/12/18 06:53:29 196 @@ -9,7 +9,7 @@ using namespace Util; WeatherPlugin::WeatherPlugin() - : Plugin("vejr", "Find danish weather report on dmi.dk") + : Plugin("vejr", "Find danish weather report on dmi.dk") { } @@ -19,7 +19,9 @@ try { doc = HttpClient::GetString("http://www.dmi.dk/dmi/danmark.htm"); - } catch (httpexception&e ) { + } + catch (httpexception&e ) + { modem.SendSms(sms.GetSender(), "could not retrieve data", true); return; }