server: add another log line for metadata sync

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7102
GitOrigin-RevId: 0b18d4a07470c0c785db1b250d6d9c5e2b65676c
This commit is contained in:
awjchen 2022-11-29 21:02:02 -07:00 committed by hasura-bot
parent 29e3a0eb1b
commit b1cb73e964

View File

@ -401,6 +401,10 @@ runMetadataQuery env logger instanceId userInfo httpManager serverConfigCtx sche
then case (_sccMaintenanceMode serverConfigCtx, _sccReadOnlyMode serverConfigCtx) of
(MaintenanceModeDisabled, ReadOnlyModeDisabled) -> do
-- set modified metadata in storage
L.unLogger logger $
SchemaSyncLog L.LevelInfo TTMetadataApi $
String $
"Attempting to put new metadata in storage"
newResourceVersion <-
Tracing.trace "setMetadata" $
setMetadata (fromMaybe currentResourceVersion _rqlMetadataResourceVersion) modMetadata