mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Put the first error in the perl console as well as the log file.
This commit is contained in:
parent
ec16d218b2
commit
e421035641
@ -204,6 +204,8 @@ sub log_recent_errors($)
|
|||||||
{
|
{
|
||||||
if ( /^Error/ || /^CouldnÕt find project file/ )
|
if ( /^Error/ || /^CouldnÕt find project file/ )
|
||||||
{
|
{
|
||||||
|
if (!$found_errors)
|
||||||
|
print $_; # put the first error in the perl console.
|
||||||
$found_errors = 1;
|
$found_errors = 1;
|
||||||
}
|
}
|
||||||
print ERROR_LOG $_;
|
print ERROR_LOG $_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user