mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-27 21:30:16 +00:00
🛠️ fix(NostrFetcherTrait): handle empty data case by returning instead of throwing an exception
This commit is contained in:
@@ -66,7 +66,7 @@ trait NostrFetcherTrait
|
||||
}
|
||||
|
||||
if (empty($data)) {
|
||||
throw new \RuntimeException('No data received from any relay.');
|
||||
return;
|
||||
}
|
||||
|
||||
foreach ($data as $item) {
|
||||
|
||||
Reference in New Issue
Block a user