mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
fix: errors
This commit is contained in:
1 parent
16c71f3647
commit
64a65e2018
67 files changed
+156
-147
No files matched your search
@@ -24,7 +24,7 @@ class PrivateKey extends BaseModel
|
||||
{
|
||||
try {
|
||||
return PublicKeyLoader::load($this->private_key)->getPublicKey()->toString('OpenSSH',['comment' => '']);
|
||||
} catch (\Exception $e) {
|
||||
} catch (\Throwable $e) {
|
||||
return 'Error loading private key';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user