[Nostromo] Update Status codes

This commit is contained in:
Andrés Montañez
2017-01-01 16:39:22 -03:00
parent 643fcfcbda
commit 616258e91e
7 changed files with 14 additions and 14 deletions
@@ -34,7 +34,7 @@ class CleanupTask extends AbstractTask
public function execute()
{
if (!$this->runtime->getEnvironmentConfig('releases', false)) {
throw new ErrorException('This task is only available with releases enabled', 400);
throw new ErrorException('This task is only available with releases enabled', 40);
}
$tarGzLocal = $this->runtime->getVar('targz_local');