You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*
* The author of the log messages. You can set both to null to keep the Webhook author set in Discord
*/
'from' => [
'name' => 'Error Logger',
'avatar_url' => null,
],
Results in this error message:
Symfony\Component\Debug\Exception\FatalThrowableError : Return value of MarvinLabs\DiscordLogger\Converters\AbstractRecordConverter::getFromName() must be of the type string, null returned
at /var/www/html/prod/vendor/marvinlabs/laravel-discord-logger/src/DiscordLogger/Converters/AbstractRecordConverter.php:98
94| }
95|
96| protected function getFromName(): string
97| {
> 98| return $this->config->get('discord-logger.from.name');
99| }
100|
101| protected function getFromAvatar(): ?string
102| {
Exception trace:
1 MarvinLabs\DiscordLogger\Converters\AbstractRecordConverter::getFromName()
/var/www/html/prod/vendor/marvinlabs/laravel-discord-logger/src/DiscordLogger/Converters/AbstractRecordConverter.php:87
2 MarvinLabs\DiscordLogger\Converters\AbstractRecordConverter::addGenericMessageFrom(Object(MarvinLabs\DiscordLogger\Discord\Message))
/var/www/html/prod/vendor/marvinlabs/laravel-discord-logger/src/DiscordLogger/Converters/RichRecordConverter.php:19
I'm guessing it should be : ?string like the avatar?
The text was updated successfully, but these errors were encountered:
Results in this error message:
I'm guessing it should be
: ?string
like the avatar?The text was updated successfully, but these errors were encountered: