We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7ba57 commit c37f0bdCopy full SHA for c37f0bd
app/Helpers/Ookla.php
@@ -20,7 +20,8 @@ public static function getErrorMessage(ProcessFailedException $exception): strin
20
return $decoded['message'];
21
}
22
23
- return ''; // If it's not valid JSON or doesn't contain "message", return an empty string
+ // Placeholder for invalid JSON or missing "message"
24
+ return 'An unexpected error occurred while running the Ookla CLI.';
25
}, $messages);
26
27
// Filter out empty messages and concatenate
0 commit comments