chore: more logs

This commit is contained in:
Igor Sirotin 2025-02-20 17:50:28 +03:00
parent 8898ac9923
commit c554712a4c
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
3 changed files with 3 additions and 2 deletions

View File

@ -460,6 +460,7 @@ proc start*(self: AppController) =
else:
self.keycardService.init()
debug "keycardService initialized"
self.keychainService.init()
self.generalService.init()
self.accountsService.init()

View File

@ -11,4 +11,5 @@ proc callRPC*(methodName: string, params: JsonNode = %*{}): string =
"params": %*[ params ],
}
let responseString = keycard_go.keycardCallRPC($request)
debug "callRPC", request, responseString
return responseString

View File

@ -80,8 +80,7 @@ QtObject:
debug "initializeRPC response", response
proc start*(self: Service, storageDir: string) =
let response = callRPC("Start", %*{"storageFilePath": storageDir})
debug "callRPC response", response
discard callRPC("Start", %*{"storageFilePath": storageDir})
proc stop*(self: Service) =
discard callRPC("Stop")