mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
test262-runner: Convert dbgln to warnln
Since this application is now supposed to be used from within Serenity we should make sure to warn the actual user.
This commit is contained in:
parent
b5b3b9323d
commit
cd3a72b367
Notes:
sideshowbarker
2024-07-17 07:17:30 +09:00
Author: https://github.com/davidot Commit: https://github.com/SerenityOS/serenity/commit/cd3a72b367 Pull-request: https://github.com/SerenityOS/serenity/pull/15189 Reviewed-by: https://github.com/linusg
@ -584,7 +584,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
if (timeout <= 0) {
|
||||
dbgln("timeout must be atleast 1");
|
||||
warnln("timeout must be atleast 1");
|
||||
return 2;
|
||||
}
|
||||
|
||||
@ -671,7 +671,7 @@ int main(int argc, char** argv)
|
||||
|
||||
auto file = Core::File::construct(path);
|
||||
if (!file->open(Core::OpenMode::ReadOnly)) {
|
||||
dbgln("Could not open file: {}", path);
|
||||
warnln("Could not open file: {}", path);
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user