Skip to content

Commit 264bd60

Browse files
committed
fix(webapp): stop logging every environment on a lookup miss
An environment-slug lookup miss logged the full environments array (branch names, owner ids, archived entries included) instead of a simple count. Log the count instead.
1 parent ec562c0 commit 264bd60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/presenters/OrganizationsPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class OrganizationsPresenter {
235235
if (!env) {
236236
logger.info("Not Found: environment", {
237237
environmentSlug,
238-
environments,
238+
environmentCount: environments.length,
239239
});
240240
}
241241
}

0 commit comments

Comments
 (0)