Replace console.error with beef.debug

This commit is contained in:
Brendan Coles
2014-08-31 02:01:55 +00:00
parent f6eb275f3f
commit a40e8ca8de
2 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ beef.updater = {
try {
command();
} catch(e) {
console.error('execute_commands - command failed to execute: ' + e.message);
beef.debug('execute_commands - command failed to execute: ' + e.message);
// prints the command source to be executed, to better trace errors
// beef.client_debug must be enabled in the main config
beef.debug(command.toString());