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:
parent
dac0554fa0
commit
ff914fabeb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue