Remove necessary console logs

This commit is contained in:
Jan Oberhauser 2020-09-24 09:38:12 +02:00
parent 93963da1a1
commit fb595772f3

View file

@ -67,8 +67,6 @@ export class ActiveWorkflows {
* @memberof ActiveWorkflows
*/
async add(id: string, workflow: Workflow, additionalData: IWorkflowExecuteAdditionalData, getTriggerFunctions: IGetExecuteTriggerFunctions, getPollFunctions: IGetExecutePollFunctions): Promise<void> {
console.log('ADD ID (active): ' + id);
this.workflowData[id] = {};
const triggerNodes = workflow.getTriggerNodes();
@ -204,8 +202,6 @@ export class ActiveWorkflows {
* @memberof ActiveWorkflows
*/
async remove(id: string): Promise<void> {
console.log('REMOVE ID (active): ' + id);
if (!this.isActive(id)) {
// Workflow is currently not registered
throw new Error(`The workflow with the id "${id}" is currently not active and can so not be removed`);