File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { appMode, getAppMode } from "@ogw_front/utils/app_mode.js"
44export const useInfraStore = defineStore ( "infra" , {
55 state : ( ) => ( {
66 app_mode : getAppMode ( ) ,
7+ ID : "" ,
78 is_captcha_validated : false ,
89 status : Status . NOT_CREATED ,
910 microservices : [ ] ,
@@ -65,7 +66,7 @@ export const useInfraStore = defineStore("infra", {
6566 } else if ( this . app_mode == appMode . CLOUD ) {
6667 console . log ( "[INFRA] CLOUD mode - Launching lambda..." )
6768 const lambdaStore = useLambdaStore ( )
68- await lambdaStore . launch ( )
69+ this . ID = await lambdaStore . launch ( )
6970 console . log ( "[INFRA] Lambda launched successfully" )
7071 }
7172
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const useLambdaStore = defineStore("lambda", {
4141 if ( error . value || ! data . value ) {
4242 this . status = Status . NOT_CONNECTED
4343 feedbackStore . server_error = true
44- console . error ( "[LAMBDA] Failed to launch lambda backend" )
44+ console . error ( "[LAMBDA] Failed to launch lambda backend" , error . value )
4545 throw new Error ( "Failed to launch lambda backend" )
4646 }
4747
You can’t perform that action at this time.
0 commit comments