diff --git a/server/src/modules/docker/watchers/providers/docker/AbstractDockerListener.ts b/server/src/modules/docker/watchers/providers/docker/AbstractDockerListener.ts index 8943d9b3..6af35db2 100644 --- a/server/src/modules/docker/watchers/providers/docker/AbstractDockerListener.ts +++ b/server/src/modules/docker/watchers/providers/docker/AbstractDockerListener.ts @@ -73,7 +73,9 @@ export default class DockerListener extends Component perform a watch if (action === 'destroy' || action === 'create') { - await this.watchCronDebounced(); + if (this.watchCronDebounced && typeof this.watchCronDebounced === 'function') { + await this.watchCronDebounced(); + } } else { // Update container state in db if so try {