{"record":{"id":"20318937cde103a1","repo":"firefly-iii/firefly-iii","slug":"e-getmessage-203189","errorCode":null,"errorMessage":"$e->getMessage()","messagePattern":"\\$e->getMessage\\(\\)","errorType":"exception","errorClass":"FireflyException","httpStatus":500,"severity":"error","filePath":"app/Listeners/Security/System/NotifiesAboutNewInvitation.php","lineNumber":70,"sourceCode":"            return;\n        }\n\n        NotificationSender::send(new OwnerNotifiable(), new UserInvitation($invitee));\n    }\n\n    private function sendRegistrationInvite(InvitedUser $invitee): void\n    {\n        $email = $invitee->email;\n        $admin = $invitee->user->email;\n        $url   = route('invite', [$invitee->invite_code]);\n\n        try {\n            Mail::to($email)->send(new InvitationMail($email, $admin, $url));\n        } catch (Exception $e) {\n            Log::error($e->getMessage());\n            Log::error($e->getTraceAsString());\n\n            throw new FireflyException($e->getMessage(), 0, $e);\n        }\n    }\n}\n","sourceCodeStart":52,"sourceCodeEnd":74,"githubUrl":"https://github.com/firefly-iii/firefly-iii/blob/fd8791d08d4d9e6467519a78048cd038e26b8878/app/Listeners/Security/System/NotifiesAboutNewInvitation.php#L52-L74","documentation":"Error \"$e->getMessage()\" thrown in firefly-iii/firefly-iii.","triggerScenarios":"Thrown at app/Listeners/Security/System/NotifiesAboutNewInvitation.php:70 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fd8791d08d4d9e6467519a78048cd038e26b8878","analyzedAt":"2026-08-17T02:14:53.848Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}