mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:37:45 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -584,7 +584,7 @@ int main(int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (timeout <= 0) {
|
if (timeout <= 0) {
|
||||||
dbgln("timeout must be atleast 1");
|
warnln("timeout must be atleast 1");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -671,7 +671,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto file = Core::File::construct(path);
|
auto file = Core::File::construct(path);
|
||||||
if (!file->open(Core::OpenMode::ReadOnly)) {
|
if (!file->open(Core::OpenMode::ReadOnly)) {
|
||||||
dbgln("Could not open file: {}", path);
|
warnln("Could not open file: {}", path);
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue