mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: Write error to console
This commit is contained in:
parent
417dd11481
commit
0b0c6bc9cc
1 changed files with 6 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ implementation
|
|||
|
||||
uses
|
||||
Unix, DCBasicTypes, DCClassesUtf8, DCStrUtils, uDCUtils, uGlib2,
|
||||
uIconTheme, uClipboard, DCOSUtils, uKeyFile, uGio, uXdg, uMimeType;
|
||||
uIconTheme, uClipboard, DCOSUtils, uKeyFile, uGio, uXdg, uMimeType, uDebug;
|
||||
|
||||
type
|
||||
TMimeAppsGroup = (magDefault, magAdded, magRemoved);
|
||||
|
|
@ -604,7 +604,11 @@ begin
|
|||
DesktopFile.Free;
|
||||
end;
|
||||
except
|
||||
Result:= False;
|
||||
on E: Exception do
|
||||
begin
|
||||
Result:= False;
|
||||
DCDebug(E.Message);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue