From b05ef205779782425e9622677196a2694e53e659 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 26 Nov 2022 19:08:08 -0800 Subject: [PATCH] amcrest/rtsp: listener error logging --- plugins/amcrest/package-lock.json | 4 ++-- plugins/amcrest/package.json | 2 +- plugins/rtsp/src/rtsp.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/amcrest/package-lock.json b/plugins/amcrest/package-lock.json index ff8d7c639..337cf6dfb 100644 --- a/plugins/amcrest/package-lock.json +++ b/plugins/amcrest/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/amcrest", - "version": "0.0.111", + "version": "0.0.112", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/amcrest", - "version": "0.0.111", + "version": "0.0.112", "hasInstallScript": true, "license": "Apache", "dependencies": { diff --git a/plugins/amcrest/package.json b/plugins/amcrest/package.json index c5aab64a8..971bb9308 100644 --- a/plugins/amcrest/package.json +++ b/plugins/amcrest/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/amcrest", - "version": "0.0.111", + "version": "0.0.112", "description": "Amcrest Plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/rtsp/src/rtsp.ts b/plugins/rtsp/src/rtsp.ts index e5e0fa114..73b843bf8 100644 --- a/plugins/rtsp/src/rtsp.ts +++ b/plugins/rtsp/src/rtsp.ts @@ -198,7 +198,7 @@ export abstract class RtspSmartCamera extends RtspCamera { listener = await this.listener; } catch (e) { - this.console.error('listen loop connection failed, restarting listener.'); + this.console.error('listen loop connection failed, restarting listener.', e.message); restartListener(); return; }