Give a debug log message if creating cache directory fails
Things will almost certainly fail to work in this case, as CEF won't be able to create it neither, but still continue just in case they don't.
This commit is contained in:
parent
d4327e81d1
commit
2d127ba229
1 changed files with 6 additions and 1 deletions
|
|
@ -978,7 +978,12 @@ bool wxWebViewChromium::InitCEF(const wxWebViewConfiguration& config)
|
|||
);
|
||||
cefDataFolder.AppendDir("CEF");
|
||||
}
|
||||
cefDataFolder.Mkdir(wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL);
|
||||
|
||||
if ( !cefDataFolder.Mkdir(wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL) )
|
||||
{
|
||||
wxLogTrace(TRACE_CEF, "Failed to create CEF directory \"%s\"",
|
||||
cefDataFolder.GetFullPath());
|
||||
}
|
||||
|
||||
CefSettings settings;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue