mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Various code cleanup and phpstan suggestions
This commit is contained in:
		| @@ -91,6 +91,7 @@ class UserEventHandler | ||||
|             Mail::to($invitee)->send(new InvitationMail($invitee, $admin, $url)); | ||||
|         } catch (Exception $e) { | ||||
|             Log::error($e->getMessage()); | ||||
|             throw new FireflyException($e->getMessage(), 0, $e); | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @@ -247,6 +248,7 @@ class UserEventHandler | ||||
|             Mail::to($newEmail)->send(new ConfirmEmailChangeMail($newEmail, $oldEmail, $url)); | ||||
|         } catch (Exception $e) { | ||||
|             Log::error($e->getMessage()); | ||||
|             throw new FireflyException($e->getMessage(), 0, $e); | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @@ -270,6 +272,7 @@ class UserEventHandler | ||||
|             Mail::to($oldEmail)->send(new UndoEmailChangeMail($newEmail, $oldEmail, $url)); | ||||
|         } catch (Exception $e) { | ||||
|             Log::error($e->getMessage()); | ||||
|             throw new FireflyException($e->getMessage(), 0, $e); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user