publication-server
Advanced tools
Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "publication-server", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -32,5 +32,17 @@ 'use strict'; | ||
/** | ||
* Starts the publication so that it can handle any errors thrown by it | ||
* initially. | ||
*/ | ||
start() { | ||
try { | ||
this._start(); | ||
} catch (err) { | ||
this.error(err); | ||
} | ||
} | ||
/** | ||
* Starts the publication. | ||
*/ | ||
start() { | ||
_start() { | ||
this._handler.apply({ | ||
@@ -37,0 +49,0 @@ userId: this._session.userId, |
434724
11724