* Code cleanup; minor
This commit is contained in:
@@ -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));
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user