Skip to content

Commit 9c46d5d

Browse files
committed
If v2 streams is requested, throw an error if S2 env vars are not set
1 parent 064b562 commit 9c46d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/services/realtime/v1StreamsGlobal.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ export function getRealtimeStreamInstance(
4747
});
4848
}
4949

50-
return v1RealtimeStreams;
50+
throw new Error("Realtime streams v2 is required for this run but S2 configuration is missing");
5151
}
5252
}

0 commit comments

Comments
 (0)