Skip to content

Commit 38518b6

Browse files
committed
Preview branch without a branch shouldn't log an error, it's a user provided issue
1 parent a3f6d96 commit 38518b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/models/runtimeEnvironment.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function findEnvironmentByApiKey(
3737

3838
if (environment.type === "PREVIEW") {
3939
if (!branchName) {
40-
logger.error("findEnvironmentByApiKey(): Preview env with no branch name provided", {
40+
logger.warn("findEnvironmentByApiKey(): Preview env with no branch name provided", {
4141
environmentId: environment.id,
4242
});
4343
return null;

0 commit comments

Comments
 (0)