service->update(); return Command::SUCCESS; } catch (PDOException $e) { $this->logger->warning($e); return Command::FAILURE; } catch (Exception $e) { $this->logger->error($e); return Command::FAILURE; } } }