rocker 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/rocker/updater.h +2 -1
- data/lib/rocker.rb +2 -2
- metadata +2 -2
data/ext/rocker/updater.h
CHANGED
@@ -62,13 +62,14 @@ public:
|
|
62
62
|
query = make_known_correct_query().c_str();
|
63
63
|
|
64
64
|
try {
|
65
|
-
|
65
|
+
R = T.exec(query);
|
66
66
|
cout << "Query:" << endl;
|
67
67
|
cout << query << endl;
|
68
68
|
} catch (pqxx::sql_error e) {
|
69
69
|
cerr << "SQL error in Fetcher transactor." << endl;
|
70
70
|
cerr << "Query: " << e.query() << endl;
|
71
71
|
cerr << "Error: " << e.what() << endl;
|
72
|
+
//FIXME: Needs to throw a Rails exception of some kind. (Or does it?)
|
72
73
|
}
|
73
74
|
}
|
74
75
|
|
data/lib/rocker.rb
CHANGED