From a9f093cc83926b0e83324aa9e022903563d9d801 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 20 Jan 2012 20:46:10 +0000 Subject: return fault in case of (unsurprisingly) failure Signed-off-by: Michael Krelin --- diff --git a/src/eyefiservice.cc b/src/eyefiservice.cc index 9ef4bb6..2586ade 100644 --- a/src/eyefiservice.cc +++ b/src/eyefiservice.cc @@ -62,6 +62,7 @@ int eyefiService::StartSession( return SOAP_OK; }catch(std::runtime_error& e) { syslog(LOG_ERR,"error while processing StartSession: %s",e.what()); + return soap_receiverfault(e.what(),0); } int eyefiService::GetPhotoStatus( -- cgit v0.9.0.2