observability? But not sure how or even if they alert on errors.

logger for last few months... so hoping for some clarity from CF on this
http.request.method -> http.methodtry {
throw new Error("test-error");
} catch (e) {
console.error({
message: e.message,
exception: {
stack: e.stack,
name: e.name,
message: e.message,
timestamp: new Date().getTime(),
},
});
}
throw new Error("test-exception");import type { APIGatewayProxyHandlerV2 } from "aws-lambda";
export const handler: APIGatewayProxyHandlerV2 = async (event) => {
console.log("Hello World");
return {
statusCode: 200,
body: "Hello World",
};
};