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:
davidot 2022-09-11 10:44:03 +02:00 committed by Linus Groh
parent b5b3b9323d
commit cd3a72b367
Notes: sideshowbarker 2024-07-17 07:17:30 +09:00

View File

@ -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;
}