mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: MacCloud/S3: exception handle in TWFXS3PropertyView.saveConnection()
This commit is contained in:
parent
4e65f7feae
commit
84a2000f2c
1 changed files with 8 additions and 3 deletions
|
|
@ -242,9 +242,14 @@ var
|
|||
count: Integer;
|
||||
alert: NSAlert;
|
||||
begin
|
||||
count:= client.getAllBuckets.Count;
|
||||
if count > 0 then
|
||||
Exit;
|
||||
try
|
||||
count:= client.getAllBuckets.Count;
|
||||
if count > 0 then
|
||||
Exit;
|
||||
except
|
||||
on e: Exception do
|
||||
TLogUtil.logError( 'in TWFXS3PropertyView.saveConnection: ' + e.Message );
|
||||
end;
|
||||
|
||||
alert:= NSAlert.new;
|
||||
alert.setMessageText( StringToNSString('Incomplete Parameters') );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue