]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix exception message
authorMorris Jobke <hey@morrisjobke.de>
Thu, 26 Feb 2015 14:07:51 +0000 (15:07 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 26 Feb 2015 14:08:30 +0000 (15:08 +0100)
lib/private/backgroundjob/joblist.php

index ded269dfe59e2316fadb3325f3e0d5cd5b43eae2..f7cc24217e64ee5172bb0818a34a53f8442c8f2f 100644 (file)
@@ -58,7 +58,7 @@ class JobList implements IJobList {
                        }
                        $argument = json_encode($argument);
                        if (strlen($argument) > 4000) {
-                               throw new \InvalidArgumentException('Background job arguments cant exceed 2048 characters (json encoded');
+                               throw new \InvalidArgumentException('Background job arguments can\'t exceed 4000 characters (json encoded)');
                        }
                        $query = $this->conn->prepare('INSERT INTO `*PREFIX*jobs`(`class`, `argument`, `last_run`) VALUES(?, ?, 0)');
                        $query->execute(array($class, $argument));