author | Michael Krelin <hacker@klever.net> | 2012-01-20 20:46:10 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2012-01-20 20:46:10 (UTC) |
commit | a9f093cc83926b0e83324aa9e022903563d9d801 (patch) (unidiff) | |
tree | edb99733968e4617d386406f23aab1f5788eea70 | |
parent | 6258fb1baaaa46a828fd6753b9401880b9b63aec (diff) | |
download | iii-a9f093cc83926b0e83324aa9e022903563d9d801.zip iii-a9f093cc83926b0e83324aa9e022903563d9d801.tar.gz iii-a9f093cc83926b0e83324aa9e022903563d9d801.tar.bz2 |
return fault in case of (unsurprisingly) failure
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | src/eyefiservice.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eyefiservice.cc b/src/eyefiservice.cc index 9ef4bb6..2586ade 100644 --- a/src/eyefiservice.cc +++ b/src/eyefiservice.cc | |||
@@ -59,12 +59,13 @@ int eyefiService::StartSession( | |||
59 | _exit(-1); | 59 | _exit(-1); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | return SOAP_OK; | 62 | return SOAP_OK; |
63 | }catch(std::runtime_error& e) { | 63 | }catch(std::runtime_error& e) { |
64 | syslog(LOG_ERR,"error while processing StartSession: %s",e.what()); | 64 | syslog(LOG_ERR,"error while processing StartSession: %s",e.what()); |
65 | return soap_receiverfault(e.what(),0); | ||
65 | } | 66 | } |
66 | 67 | ||
67 | int eyefiService::GetPhotoStatus( | 68 | int eyefiService::GetPhotoStatus( |
68 | std::string credential, std::string macaddress, | 69 | std::string credential, std::string macaddress, |
69 | std::string filename, long filesize, std::string filesignature, | 70 | std::string filename, long filesize, std::string filesignature, |
70 | int flags, | 71 | int flags, |