@@ -82,7 +82,7 @@ |
||
| 82 | 82 | $result = true; |
| 83 | 83 | try{ |
| 84 | 84 | $repo->store($user); |
| 85 | - }catch (\Exception $e){ |
|
| 85 | + } catch (\Exception $e){ |
|
| 86 | 86 | throw $e; |
| 87 | 87 | } |
| 88 | 88 | return $result; |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | ]; |
| 121 | 121 | $userOk = $this->plugin('Install/UserCreator',$options)->process($data['username'], $data['password'], $data['email']); |
| 122 | 122 | $ok = $this->plugin('Install/ConfigCreator')->process($data['db_conn'], $data['email']); |
| 123 | - }catch (\Exception $exception){ |
|
| 123 | + } catch (\Exception $exception){ |
|
| 124 | 124 | /* @TODO: provide a way to handle global error message */ |
| 125 | 125 | return $this->createJsonResponse([ |
| 126 | 126 | 'ok' => false, |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $this->error(self::NO_CONNECTION); |
| 82 | 82 | |
| 83 | 83 | return false; |
| 84 | - }catch (\Exception $e){ |
|
| 84 | + } catch (\Exception $e){ |
|
| 85 | 85 | $this->databaseError = $e->getMessage(); |
| 86 | 86 | $this->error(self::NO_CONNECTION); |
| 87 | 87 | return false; |