mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 21:18:11 -04:00
v4.7 (#12478)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co>
This commit is contained in:
co-authored by
Claude Opus 5.5
peaklabs-dev
Aditya Tripathi
parent
b7dc2e435b
commit
033f0c84da
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
use League\Flysystem\FilesystemException;
|
||||
use RuntimeException;
|
||||
use Throwable;
|
||||
|
||||
class SftpHostKeyChanged extends RuntimeException implements FilesystemException
|
||||
{
|
||||
public static function atHost(string $host, Throwable $previous): self
|
||||
{
|
||||
return new self("The SSH host key of the SFTP server {$host} changed. If you expect this change, for example after a reinstall of the server, reset the host key in the storage settings and validate the connection again.", previous: $previous);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user