summaryrefslogtreecommitdiff
path: root/ruby/src/IceRuby/Slice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/src/IceRuby/Slice.cpp')
-rw-r--r--ruby/src/IceRuby/Slice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby/src/IceRuby/Slice.cpp b/ruby/src/IceRuby/Slice.cpp
index c8a21d2ff9c..858da4819cc 100644
--- a/ruby/src/IceRuby/Slice.cpp
+++ b/ruby/src/IceRuby/Slice.cpp
@@ -187,22 +187,22 @@ IceRuby_compile(int argc, VALUE* argv, VALUE self)
}
catch(const std::exception& ex)
{
- getErrorStream() << argSeq[0] << ": error:" << ex.what() << endl;
+ cerr << argSeq[0] << ": error:" << ex.what() << endl;
rc = EXIT_FAILURE;
}
catch(const std::string& msg)
{
- getErrorStream() << argSeq[0] << ": error:" << msg << endl;
+ cerr << argSeq[0] << ": error:" << msg << endl;
rc = EXIT_FAILURE;
}
catch(const char* msg)
{
- getErrorStream() << argSeq[0] << ": error:" << msg << endl;
+ cerr << argSeq[0] << ": error:" << msg << endl;
rc = EXIT_FAILURE;
}
catch(...)
{
- getErrorStream() << argSeq[0] << ": error:" << "unknown exception" << endl;
+ cerr << argSeq[0] << ": error:" << "unknown exception" << endl;
rc = EXIT_FAILURE;
}
return INT2FIX(rc);