mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Demote unapplied patch warnings to debug logs (#805)
These warnings always appear for properties like `Capabilities`, `SourceAssetId`, etc. and tend to scare users who are syncing models. This information is now surfaced in the patch visualizer, so I think these warnings can be demoted to debug logs.
This commit is contained in:
parent
feac29ea40
commit
a3d140269b
1 changed files with 2 additions and 2 deletions
|
|
@ -282,7 +282,7 @@ function ServeSession:__initialSync(serverInfo)
|
||||||
local unappliedPatch = self.__reconciler:applyPatch(catchUpPatch)
|
local unappliedPatch = self.__reconciler:applyPatch(catchUpPatch)
|
||||||
|
|
||||||
if not PatchSet.isEmpty(unappliedPatch) then
|
if not PatchSet.isEmpty(unappliedPatch) then
|
||||||
Log.warn(
|
Log.debug(
|
||||||
"Could not apply all changes requested by the Rojo server:\n{}",
|
"Could not apply all changes requested by the Rojo server:\n{}",
|
||||||
PatchSet.humanSummary(self.__instanceMap, unappliedPatch)
|
PatchSet.humanSummary(self.__instanceMap, unappliedPatch)
|
||||||
)
|
)
|
||||||
|
|
@ -309,7 +309,7 @@ function ServeSession:__mainSyncLoop()
|
||||||
local unappliedPatch = self.__reconciler:applyPatch(message)
|
local unappliedPatch = self.__reconciler:applyPatch(message)
|
||||||
|
|
||||||
if not PatchSet.isEmpty(unappliedPatch) then
|
if not PatchSet.isEmpty(unappliedPatch) then
|
||||||
Log.warn(
|
Log.debug(
|
||||||
"Could not apply all changes requested by the Rojo server:\n{}",
|
"Could not apply all changes requested by the Rojo server:\n{}",
|
||||||
PatchSet.humanSummary(self.__instanceMap, unappliedPatch)
|
PatchSet.humanSummary(self.__instanceMap, unappliedPatch)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue