Update debug message

This commit is contained in:
Miguel Nogueira 2020-12-27 19:52:23 +00:00
parent 1b6214a2ec
commit 8470b8a423
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class CatAPI {
// anti smart-ass device // anti smart-ass device
if ($count > $this->hardLimit || $count <= 0) if ($count > $this->hardLimit || $count <= 0)
{ {
Analog::error('CatAPI: Invalid arguments: Count of ' . $count . ' is over the hard limit of ' . $this->hardLimit); Analog::error('CatAPI: Invalid arguments: Count of ' . $count . ' is over the hard limit of ' . $this->hardLimit . ' or below or equal to zero');
throw new Exception("Unacceptable quantity: " . $count . ". Please try again with no more than " . $this->hardLimit . " picture(s)."); throw new Exception("Unacceptable quantity: " . $count . ". Please try again with no more than " . $this->hardLimit . " picture(s).");
} }