mirror of https://github.com/xwiki-labs/cryptpad
log more
This commit is contained in:
parent
c18018ca79
commit
8d102ea762
|
@ -868,7 +868,10 @@ module.exports.create = function (cfg) {
|
|||
store.writeMetadata(channelName, JSON.stringify(metadata), function (err) {
|
||||
if (err) {
|
||||
// FIXME tell the user that there was a channel error?
|
||||
return void Log.error('HK_WRITE_METADATA');
|
||||
return void Log.error('HK_WRITE_METADATA', {
|
||||
channel: channelName,
|
||||
error: err,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue