Commit 11c1bac7 authored by Christian Hergert's avatar Christian Hergert
Browse files

unsaved-files: be resilient against missing drafts

parent ee6c5880
......@@ -345,8 +345,9 @@ ide_unsaved_files_restore_worker (GTask *task,
if (!g_file_get_contents (path, &contents, &len, &error))
{
g_task_return_error (task, error);
break;
g_warning ("%s", error->message);
g_clear_error (&error);
continue;
}
unsaved = g_slice_new0 (UnsavedFile);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment