Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not create a Warning if you could not get the current monitor status from the DB (Monitor.php) #4097

Closed
wants to merge 1 commit into from

Conversation

IgorA100
Copy link
Contributor

The only reason why the status could not be obtained is the absence of a monitor in the 'Monitor_Status' table. For example - Montage page is open and

  • at this moment the connection with the camera is lost
  • go to the camera settings and resave
  • disabled Capturing
  • and so on. In all of the above cases, a useless warning will be generated that only fills the log.

Or am I wrong?

…us from the DB (Monitor.php)

The only reason why the status could not be obtained is the absence of a monitor in the 'Monitor_Status' table.
For example - Montage page is open and
- at this moment the connection with the camera is lost
- go to the camera settings and resave
- disabled Capturing
- and so on.
In all of the above cases, a useless warning will be generated that only fills the log.

Or am I wrong?
@IgorA100 IgorA100 closed this Jul 17, 2024
@connortechnology
Copy link
Member

If there isn't a status update in over a minute, the records will get deleted. SO this could actually happen, although I've never seen it logged..

So I'm tempted to agree with you, Maybe it could be debug level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants