mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2075 from overleaf/ho-setting-doc-log-level
downgrade log of no root doc to log to reduce noise GitOrigin-RevId: f729f44b46704a26a8bcd808e64a239a0da38107
This commit is contained in:
parent
df2d46b332
commit
87605d835e
1 changed files with 1 additions and 4 deletions
|
@ -775,10 +775,7 @@ const ClsiManager = {
|
|||
}
|
||||
if (rootResourcePath == null) {
|
||||
if (hasMainFile) {
|
||||
logger.warn(
|
||||
{ projectId },
|
||||
'no root document found, setting to main.tex'
|
||||
)
|
||||
logger.log({ projectId }, 'no root document found, setting to main.tex')
|
||||
rootResourcePath = 'main.tex'
|
||||
} else if (numberOfDocsInProject === 1) {
|
||||
// only one file, must be the main document
|
||||
|
|
Loading…
Reference in a new issue