We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671aef3 commit c070c49Copy full SHA for c070c49
packages/rpc/src/routers/uptime.ts
@@ -163,6 +163,32 @@ export const uptimeRouter = {
163
isPaused: false,
164
});
165
166
+ try {
167
+ await client.publish({
168
+ url: UPTIME_DESTINATION,
169
+ headers: {
170
+ "Content-Type": "application/json",
171
+ "X-Website-Id": input.websiteId,
172
+ },
173
+ });
174
+ logger.info(
175
+ {
176
+ scheduleId,
177
+ websiteId: input.websiteId,
178
179
+ "Uptime schedule triggered manually after creation"
180
+ );
181
+ } catch (error) {
182
+ logger.error(
183
184
185
186
+ error,
187
188
+ "Failed to trigger uptime schedule manually after creation"
189
190
+ }
191
+
192
logger.info(
193
{
194
scheduleId,
0 commit comments