@@ -70,8 +70,7 @@ |
||
70 | 70 | Storage::delete($fileLink); |
71 | 71 | |
72 | 72 | Log::info('File Deleted', ['file_id' => $fileID, 'file_name' => $fileLink, 'user_id' => Auth::user()->user_id]); |
73 | - } |
|
74 | - catch (Exception $e) |
|
73 | + } catch (Exception $e) |
|
75 | 74 | { |
76 | 75 | return false; |
77 | 76 | } |
@@ -163,7 +163,7 @@ |
||
163 | 163 | try |
164 | 164 | { |
165 | 165 | Mail::to($userList)->send(new newTechtip($tipData)); |
166 | - } catch(Exception $e) |
|
166 | + } catch (Exception $e) |
|
167 | 167 | { |
168 | 168 | report($e); |
169 | 169 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | try |
95 | 95 | { |
96 | 96 | Mail::to($request->email)->send(new InitializeUser($hash, $request->username, $request->first_name.' '.$request->last_name)); |
97 | - } catch(Exception $e) |
|
97 | + } catch (Exception $e) |
|
98 | 98 | { |
99 | 99 | report($e); |
100 | 100 | } |
@@ -121,8 +121,7 @@ |
||
121 | 121 | Log::info('Test Email Successfully Sent to '.Auth::user()->email); |
122 | 122 | Mail::to(Auth::user()->email)->send(new TestEmail()); |
123 | 123 | return 'success'; |
124 | - } |
|
125 | - catch (Exception $e) |
|
124 | + } catch (Exception $e) |
|
126 | 125 | { |
127 | 126 | Log::notice('Test Email Failed. Message: '.$e); |
128 | 127 | $msg = '['.$e->getCode().'] "'.$e->getMessage().'" on line '.$e->getTrace()[0]['line'].' of file '.$e->getTrace()[0]['file']; |