[glom] Improve some stdcerr output.



commit cf00797ba2edeef375ef8fc1c0e2c8b6bdbe9334
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 9 14:13:14 2011 +0200

    Improve some stdcerr output.

 glom/libglom/connectionpool.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/libglom/connectionpool.cc b/glom/libglom/connectionpool.cc
index b6cdf2a..1713034 100644
--- a/glom/libglom/connectionpool.cc
+++ b/glom/libglom/connectionpool.cc
@@ -532,7 +532,7 @@ bool ConnectionPool::handle_error_cerr_only()
             error_details += '\n'; //Add newline after each error.
 
           error_details += (*iter)->get_description();
-          std::cerr << "Internal error (Database): " << error_details << std::endl;
+          std::cerr << G_STRFUNC << ": Internal error (Database): " << error_details << std::endl;
         }
       }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]