@@ -76,7 +76,7 @@ extern "C" {
76
76
}
77
77
catch (Error& e) {
78
78
stringstream msg_stream;
79
- msg_stream << " ERROR -- " << e.path << " :" << e.line << " : " << e.message << endl;
79
+ msg_stream << e.path << " :" << e.line << " : error : " << e.message << endl;
80
80
string msg (msg_stream.str ());
81
81
char * msg_str = (char *) malloc (msg.size () + 1 );
82
82
strcpy (msg_str, msg.c_str ());
@@ -86,7 +86,7 @@ extern "C" {
86
86
}
87
87
catch (bad_alloc& ba) {
88
88
stringstream msg_stream;
89
- msg_stream << " ERROR -- unable to allocate memory: " << ba.what () << endl;
89
+ msg_stream << " Unable to allocate memory: " << ba.what () << endl;
90
90
string msg (msg_stream.str ());
91
91
char * msg_str = (char *) malloc (msg.size () + 1 );
92
92
strcpy (msg_str, msg.c_str ());
@@ -116,7 +116,7 @@ extern "C" {
116
116
}
117
117
catch (Error& e) {
118
118
stringstream msg_stream;
119
- msg_stream << " ERROR -- " << e.path << " :" << e.line << " : " << e.message << endl;
119
+ msg_stream << e.path << " :" << e.line << " : error : " << e.message << endl;
120
120
string msg (msg_stream.str ());
121
121
char * msg_str = (char *) malloc (msg.size () + 1 );
122
122
strcpy (msg_str, msg.c_str ());
@@ -126,7 +126,7 @@ extern "C" {
126
126
}
127
127
catch (bad_alloc& ba) {
128
128
stringstream msg_stream;
129
- msg_stream << " ERROR -- unable to allocate memory: " << ba.what () << endl;
129
+ msg_stream << " Unable to allocate memory: " << ba.what () << endl;
130
130
string msg (msg_stream.str ());
131
131
char * msg_str = (char *) malloc (msg.size () + 1 );
132
132
strcpy (msg_str, msg.c_str ());
0 commit comments