diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 40256b54c27..55280eb7d14 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -127,7 +127,10 @@ void Ice::SystemException::ice_print(ostream& out) const { Exception::ice_print(out); - out << ":\nsystem exception: " << errorToString(error); + if (error != 0) + { + out << ":\nsystem exception: " << errorToString(error); + } } void |