* Code cleanup; minor

This commit is contained in:
Bryan Ashby 2015-09-04 16:17:41 -06:00
parent f587b228bc
commit 80460ea050
3 changed files with 29 additions and 21 deletions

View file

@ -56,6 +56,7 @@ function changeMessageArea(client, areaName, cb) {
],
function complete(err, area) {
if(!err) {
console.log(JSON.stringify(area))
client.log.info( area, 'Current message area changed');
} else {
client.log.warn( { area : area, error : err.message }, 'Could not change message area');
@ -71,6 +72,8 @@ function getMessageListForArea(options, areaName, cb) {
// options.client (required)
//
options.client.log.debug( { areaName : areaName }, 'Fetching available messages');
assert(_.isObject(options.client));
/*