@@ -157,7 +157,7 @@ |
||
| 157 | 157 | } else { |
| 158 | 158 | return redirect('auth/login')->with('fails', \Lang::get('please-purcahse-a-product')); |
| 159 | 159 | } |
| 160 | - } catch (\Exception $ex) { |
|
| 160 | + } catch (\Exception $ex) { |
|
| 161 | 161 | Bugsnag::notifyException($ex); |
| 162 | 162 | |
| 163 | 163 | return redirect('auth/login')->with('fails', $ex->getMessage()); |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | } else { |
| 158 | 158 | return redirect('auth/login')->with('fails', \Lang::get('please-purcahse-a-product')); |
| 159 | 159 | } |
| 160 | - } catch (\Exception $ex) { |
|
| 160 | + } catch (\Exception $ex) { |
|
| 161 | 161 | Bugsnag::notifyException($ex); |
| 162 | 162 | |
| 163 | 163 | return redirect('auth/login')->with('fails', $ex->getMessage()); |
@@ -166,7 +166,8 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | public function getRelease($owner, $repository, $order_id, $file) |
| 168 | 168 | { |
| 169 | - if ($owner && $repository) {//If the Product is downloaded from Github |
|
| 169 | + if ($owner && $repository) { |
|
| 170 | +//If the Product is downloaded from Github |
|
| 170 | 171 | $github_controller = new \App\Http\Controllers\Github\GithubController(); |
| 171 | 172 | $relese = $github_controller->listRepositories($owner, $repository, $order_id); |
| 172 | 173 | |