projects
/
roobuilder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #8028 - language server performance, fix warnings and critical errors
[roobuilder]
/
src
/
Project
/
Meson.vala
diff --git
a/src/Project/Meson.vala
b/src/Project/Meson.vala
index
e91fc93
..
16637c2
100644
(file)
--- a/
src/Project/Meson.vala
+++ b/
src/Project/Meson.vala
@@
-221,7
+221,13
@@
install_data(
}
gr += "</gresources>\n";
}
gr += "</gresources>\n";
- FileUtils.set_contents(this.project.path + "/resources/gresources.xml", gr, gr.length);
+ try {
+ FileUtils.set_contents(this.project.path + "/resources/gresources.xml", gr, gr.length);
+ } catch (GLib.Error e) {
+ return "";
+ }
+
+
this.has_resources = true;
this.has_resources = true;
@@
-232,8
+238,7
@@
install_data(
c_name: '" + this.project.name + "_resources'
)";
c_name: '" + this.project.name + "_resources'
)";
-
- return "";
+
}
}