Skip to content

Commit

Permalink
Update error message description and add exception class.- Update err…
Browse files Browse the repository at this point in the history
…or message description and add exception class
  • Loading branch information
freekmurze committed Jun 13, 2024
2 parents 39711dd + e70ae65 commit c8159dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/CannotExecuteSolutionForNonLocalIp.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ public function getSolution(): Solution
{
return BaseSolution::create()
->setSolutionTitle('Checking your environment settings')
->setSolutionDescription("Solutions can only be executed by requests from a local IP address. Keep in mind that `APP_DEBUG` should set to false on any production environment.");
->setSolutionDescription('Solutions can only be executed by requests from a local IP address. Keep in mind that `APP_DEBUG` should set to false on any production environment.');
}
}
1 change: 1 addition & 0 deletions src/Http/Controllers/ExecuteSolutionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Foundation\Validation\ValidatesRequests;
use Spatie\ErrorSolutions\Contracts\SolutionProviderRepository;
use Spatie\LaravelErrorSolutions\Exceptions\CannotExecuteSolutionForNonLocalIp;
use Spatie\LaravelErrorSolutions\Http\Requests\ExecuteSolutionRequest;
use Spatie\LaravelErrorSolutions\Support\RunnableSolutionsGuard;

Expand Down

0 comments on commit c8159dd

Please sign in to comment.