mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
add postgresql (#118)
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
use App\Exceptions\SSHCommandError;
|
||||
use App\SSH\HasScripts;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class Dropbox extends AbstractStorage
|
||||
{
|
||||
@ -23,7 +24,8 @@ public function upload(string $src, string $dest): array
|
||||
$data = json_decode($upload, true);
|
||||
|
||||
if (isset($data['error'])) {
|
||||
throw new SSHCommandError('Failed to upload to Dropbox '.$data['error']);
|
||||
Log::error('Failed to upload to Dropbox', $data);
|
||||
throw new SSHCommandError('Failed to upload to Dropbox');
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user