Avoid errors by explicitely namespacing root exception

This commit is contained in:
Romain Neutron
2014-02-20 11:28:31 +01:00
parent fab9a64ae0
commit 2af21c064c
73 changed files with 164 additions and 164 deletions

View File

@@ -108,7 +108,7 @@ class task_manager
}
try {
$tasks[$row['task_id']] = new $classname($row['task_id'], $this->app, $this->logger);
} catch (Exception $e) {
} catch (\Exception $e) {
}
}
@@ -259,7 +259,7 @@ class task_manager
"err" => null
);
}
} catch (Exception $e) {
} catch (\Exception $e) {
}
}