Rather than:
callback(new TFramedTransport(frame));
This could be done:
(function(frame) {
Loading Batch 0 | |
Wed, 08 Jan 2014 15:28:52 GMT: Finished Loading User 0 of 100 | |
An unexpected error occurred. | |
This principal has no large picture associated with it. | |
An unexpected error occurred. | |
This principal has no large picture associated with it. | |
An unexpected error occurred. | |
This principal has no large picture associated with it. | |
An unexpected error occurred. | |
This principal has no large picture associated with it. |
[2014-01-06T17:04:16.874Z] ERROR: oae/12827 on app0: An uncaught exception was raised to the application. | |
TypeError: Cannot read property 'objectType' of null | |
at /opt/oae/node_modules/oae-activity/lib/internal/transformer.js:152:48 | |
at Array.forEach (native) | |
at _getActivityEntitiesByObjectType (/opt/oae/node_modules/oae-activity/lib/internal/transformer.js:151:61) | |
at /opt/oae/node_modules/oae-activity/lib/internal/transformer.js:36:9 | |
at Array.forEach (native) | |
at Object.module.exports.transformActivities (/opt/oae/node_modules/oae-activity/lib/internal/transformer.js:34:16) | |
at /opt/oae/node_modules/oae-activity/lib/api.js:577:29 | |
at /opt/oae/node_modules/oae-activity/lib/internal/dao.js:60:16 |
Rather than:
callback(new TFramedTransport(frame));
This could be done:
(function(frame) {
var doStuff = function(callback) { | |
var returnArgs = ['these', 'are', 'my', 'return', 'args']; | |
// Now I want to invoke `callback` with the `returnArgs` | |
// callback.apply(XXX, returnArgs) <== What do I replace XXX with to not change the "this" object of the callback? | |
} |
[2013-12-20 09:47:06,782][DEBUG][action.index ] [Awesome Android] [oaetest][0], node[7mS6-4-aT4Wrgv6kB0hSRg], [P], s[STARTED]: Failed to execute [index {[oaetest][resource][_explain], source[ | |
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"bool": { | |
"should": [ | |
{ | |
"multi_match": { | |
"fields": [ |
Application root: /usr/share/puppet/rack/puppetmasterd | |
Backtrace: | |
# File Line Location | |
0 /usr/lib/ruby/vendor_ruby/puppet/util.rb 518 in `exit' | |
1 /usr/lib/ruby/vendor_ruby/puppet/util.rb 518 in `exit_on_fail' | |
2 /usr/lib/ruby/vendor_ruby/puppet/application.rb 362 in `run' | |
3 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb 132 in `run' | |
4 /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb 86 in `execute' | |
5 config.ru 35 |
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"bool": { | |
"should": [ | |
{ | |
"multi_match": { | |
"fields": [ | |
"q_high^2.0", |
[2013-12-12T17:52:26.195Z] ERROR: oae-authentication/30370 on app1: An error occurred during login | |
Error: Replay attack. | |
at /opt/oae/node_modules/passport-saml/lib/passport-saml/saml.js:282:27 | |
at try_callback (/opt/oae/node_modules/redis/index.js:580:9) | |
at RedisClient.return_reply (/opt/oae/node_modules/redis/index.js:670:13) | |
at ReplyParser.<anonymous> (/opt/oae/node_modules/redis/index.js:312:14) | |
at ReplyParser.EventEmitter.emit (events.js:95:17) | |
at ReplyParser.send_reply (/opt/oae/node_modules/redis/lib/parser/javascript.js:300:10) | |
at ReplyParser.execute (/opt/oae/node_modules/redis/lib/parser/javascript.js:203:22) | |
at RedisClient.on_data (/opt/oae/node_modules/redis/index.js:535:27) |
var events = require('events'); | |
var b = require('./b'); | |
var emitter = module.exports = new events.EventEmitter(); | |
module.exports.init = function(callback) { | |
b.init(function() { | |
emitter.emit('done'); | |
}); | |
}; |
[2013-12-04T16:20:14.715Z] ERROR: oae-preview-processor/21462 on release0: Could not convert page to html. (stdout="") | |
Error: Command failed: Error: Copying of text from this document is not allowed. | |
at ChildProcess.exithandler (child_process.js:637:15) | |
at ChildProcess.EventEmitter.emit (events.js:98:17) | |
at maybeClose (child_process.js:735:16) | |
at Process.ChildProcess._handle.onexit (child_process.js:802:5) | |
-- | |
stderr: Error: Copying of text from this document is not allowed. | |