@@ -78,10 +78,10 @@ |
||
| 78 | 78 | $content = $response->getBody()->getContents(); |
| 79 | 79 | $path = 'public/pages/' . $pageModel->id . '.png'; |
| 80 | 80 | Storage::put('public/pages/' . $pageModel->id . '.png', $content); |
| 81 | - }catch (ClientException $e){ |
|
| 81 | + } catch (ClientException $e){ |
|
| 82 | 82 | $path = ''; |
| 83 | 83 | } |
| 84 | - }else{ |
|
| 84 | + } else{ |
|
| 85 | 85 | $path = ''; |
| 86 | 86 | } |
| 87 | 87 | } |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $allCharacteristics = app(GetAllCharacteristics::class)->get(); |
| 33 | 33 | try { |
| 34 | 34 | $context = $contextQueryByUser->execute(Auth::user()->uuid)->toArray(); |
| 35 | - }catch (\Throwable $e){ |
|
| 35 | + } catch (\Throwable $e){ |
|
| 36 | 36 | Log::emergency($e->getMessage().' '.$e->getLine().' '.$e->getFile().' '.$e->getTraceAsString()); |
| 37 | 37 | return redirect()->route('wizard.profile'); |
| 38 | 38 | } |