mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Throw if connection to logs failed.
This commit is contained in:
@@ -204,6 +204,9 @@ exports.logs = function (options) {
|
||||
}
|
||||
});
|
||||
|
||||
if (!ok)
|
||||
throw new Error("Couldn't connect to logs mongodb.");
|
||||
|
||||
// XXX make this talk to a separate logReader service instead of
|
||||
// ultraworld direcly
|
||||
prettySub(logReader, "logsForApp", [options.app], {
|
||||
|
||||
Reference in New Issue
Block a user