Move the debugging message to the base class for new importer

pull/8966/head
Bradley Hilton 8 years ago
parent d1f70b452c
commit 2fdb6d83e9
No known key found for this signature in database
GPG Key ID: 0666B2C24C43C358
  1. 1
      packages/rocketchat-importer-csv/server/importer.js
  2. 1
      packages/rocketchat-importer-hipchat-enterprise/server/importer.js
  3. 1
      packages/rocketchat-importer-hipchat/server/importer.js
  4. 2
      packages/rocketchat-importer-slack/server/importer.js
  5. 2
      packages/rocketchat-importer/server/classes/ImporterBase.js

@ -9,7 +9,6 @@ import {
export class CsvImporter extends Base {
constructor(info) {
super(info);
this.logger.debug(`Constructed a new ${ info.name } Importer.`);
this.csvParser = Npm.require('csv-parse/lib/sync');
this.messages = new Map();

@ -9,7 +9,6 @@ import {
export class HipChatEnterpriseImporter extends Base {
constructor(info) {
super(info);
this.logger.debug(`Constructed a new ${ info.name } Importer.`);
this.Readable = require('stream').Readable;
this.zlib = require('zlib');

@ -15,7 +15,6 @@ import 'moment-timezone';
export class HipChatImporter extends Base {
constructor(info) {
super(info);
this.logger.debug(`Constructed a new ${ info.name } Importer.`);
this.userTags = [];
this.roomPrefix = 'hipchat_export/rooms/';

@ -13,8 +13,6 @@ export class SlackImporter extends Base {
super(info);
this.userTags = [];
this.bots = {};
this.logger.debug(`Constructed a new ${ info.name } Importer.`);
}
prepare(dataURI, sentContentType, fileName) {

@ -102,6 +102,8 @@ export class Base {
this.channels = {};
this.messages = {};
this.oldSettings = {};
this.logger.debug(`Constructed a new ${ info.name } Importer.`);
}
/**

Loading…
Cancel
Save