Site/Module setup work and auto_format fixes

This commit is contained in:
Deon George
2012-01-02 12:35:47 +11:00
parent 407eed04c9
commit a464d73f9a
19 changed files with 138 additions and 26 deletions

View File

@@ -60,19 +60,19 @@ class Model_Task extends ORMOSB {
$this->date_run = time();
$this->running = 0;
$this->running_host = NULL;
$this->save();
$tlo->result = 0;
$tlo->message = $r->body();
}
catch (Exception $e) {
$tlo->result = $e->getCode();
$tlo->message = $e->getMessage();
$tlo->message = Kohana_Exception::text($e);
$this->running = 0;
$this->running_host = NULL;
$this->save();
$this->running = 1;
$this->running_host = 'ERROR';
}
$this->save();
}
if ($this->log)