mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
calendar: add url to broadcast logging (#3211)
minimal solution for #3110
This commit is contained in:
@@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
_This release is scheduled to be released on 2023-10-01._
|
||||
|
||||
> ⚠️ This release needs nodejs version >= `v18`, older release have reached end of life and will not work!
|
||||
> ⚠️ This release needs nodejs version >= `v18`, older releases have reached end of life and will not work!
|
||||
|
||||
### Added
|
||||
|
||||
@@ -22,6 +22,7 @@ _This release is scheduled to be released on 2023-10-01._
|
||||
- Added automatic client page reload when server was restarted by setting `reloadAfterServerRestart: true` in `config.js`, per default `false` (#3105)
|
||||
- Added eventClass option for customEvents on the default calendar
|
||||
- Added AnimateCSS integration in tests suite (#3206)
|
||||
- Added improved logging for calendar (#3110)
|
||||
|
||||
### Removed
|
||||
|
||||
|
@@ -107,7 +107,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
|
||||
* Broadcast the existing events.
|
||||
*/
|
||||
this.broadcastEvents = function () {
|
||||
Log.info(`Calendar-Fetcher: Broadcasting ${events.length} events.`);
|
||||
Log.info(`Calendar-Fetcher: Broadcasting ${events.length} events from ${url}.`);
|
||||
eventsReceivedCallback(this);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user