do not throw exceptions in log to speedup things

git-svn-id: http://svn.opennebula.org/trunk@74 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Rubén S. Montero committed 2008-07-22 17:55:47 +00:00
1 parent 20ac09e4a7
commit 2d62d1cf95
1 file changed
+2 -2
+2 -2
View File
@@ -81,7 +81,7 @@ void Log::log(
if (file.fail() == true)
{
throw runtime_error("Could not open log file");
return;
}
the_time = time(NULL);
@@ -124,7 +124,7 @@ void Log::log(
if (file.fail() == true)
{
throw runtime_error("Could not open log file");
return;
}
the_time = time(NULL);