projects
/
platform
/
upstream
/
iotivity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fdc2c7
)
Fix but in OCUtility.cpp, exception information string wasn't being included.
author
Jesse Williamson
<jesse.f.williamson@intel.com>
Fri, 10 Oct 2014 23:25:08 +0000
(16:25 -0700)
committer
Jesse Williamson
<jesse.f.williamson@intel.com>
Fri, 10 Oct 2014 23:25:49 +0000
(16:25 -0700)
Change-Id: I89a20e6411220eb3be4604a8b8c12e5a6621c644
src/OCUtilities.cpp
patch
|
blob
|
history
diff --git
a/src/OCUtilities.cpp
b/src/OCUtilities.cpp
index
1162522
..
6916bb7
100644
(file)
--- a/
src/OCUtilities.cpp
+++ b/
src/OCUtilities.cpp
@@
-192,6
+192,7
@@
OCStackResult result_guard(const OCStackResult r)
case OC_STACK_INVALID_METHOD:
case OC_STACK_INVALID_PARAM:
case OC_STACK_INVALID_OBSERVE_PARAM:
+ os << "result_guard(): " << r << ": " << OCException::reason(r);
throw OCException(os.str(), r);
/* Non-exceptional failures or success: */