Update debug message
This commit is contained in:
parent
1b6214a2ec
commit
8470b8a423
|
@ -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).");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue