Skip to content

Commit

Permalink
[minor] ensure dataum exists before checking property
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Jan 12, 2014
1 parent 9860f69 commit c62c639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/commands/logs.js
Expand Up @@ -238,7 +238,7 @@ function putLogs (results, appName) {
}

function printLog(datum) {
if (datum.description && datum.description !== null) {
if (datum && datum.description !== null) {

if (jitsu.argv.raw) {
return console.log(JSON.stringify(datum));
Expand Down

0 comments on commit c62c639

Please sign in to comment.