Skip to content

Commit

Permalink
adding debug message when skipping validation sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelog committed Jul 16, 2013
1 parent b98a373 commit fe3a2a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mg/PAGI/Node/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,10 @@ public function validate()
foreach ($onError as $msg) {
$this->addPrePromptMessage($msg);
}
} else if (is_string($onError)) {
$this->addPrePromptMessage($onError);
} else {
if (is_string($onError)) {
$this->addPrePromptMessage($onError);
}
$this->logDebug("Ignoring validation sound: " . print_r($onError, true));
}
return false;
}
Expand Down

0 comments on commit fe3a2a1

Please sign in to comment.