1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibWeb/WrapperGenerator: Replace a fprintf() with warnln()

This commit is contained in:
Linus Groh 2021-05-31 15:10:43 +01:00
parent dac0554fa0
commit ff914fabeb

View file

@ -397,7 +397,7 @@ int main(int argc, char** argv)
auto file_or_error = Core::File::open(path, Core::OpenMode::ReadOnly);
if (file_or_error.is_error()) {
fprintf(stderr, "Cannot open %s\n", path);
warnln("Failed to open {}: {}", path, file_or_error.error());
return 1;
}