amcrest/rtsp: listener error logging

This commit is contained in:
Koushik Dutta
2022-11-26 19:08:08 -08:00
parent e10fd8283d
commit b05ef20577
3 changed files with 4 additions and 4 deletions

View File

@@ -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": {

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/amcrest",
"version": "0.0.111",
"version": "0.0.112",
"description": "Amcrest Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",

View File

@@ -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;
}