Permalink
Browse files

[fix] check for datum.json.desc not being undefined

  • Loading branch information...
1 parent a23f504 commit b30cba745ea291d0927661c45f7d337c39e41b45 @bmeck bmeck committed Nov 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jitsu/commands/logs.js
View
2 lib/jitsu/commands/logs.js
@@ -148,7 +148,7 @@ function putLogs (results, appName, amount, showApp) {
loglength = jitsu.config.get('loglength');
results.data.forEach(function (datum) {
- if (datum.json) {
+ if (datum.json && data.json.desc != null) {
datum.json.desc.split('\n').forEach(function (line) {
var prefix = showApp
? datum.timestamp.grey + ' ' + datum.json.app.magenta + ': '

0 comments on commit b30cba7

Please sign in to comment.