feat: output messages to csv
This commit is contained in:
parent
4f2db08a75
commit
d8a7dcf3a2
|
@ -34,6 +34,7 @@ status-react-translations/
|
|||
notarization.log
|
||||
status-desktop.log
|
||||
nim_status_client.log
|
||||
*.csv
|
||||
|
||||
# Squish test ================================================================
|
||||
|
||||
|
|
6
Makefile
6
Makefile
|
@ -211,6 +211,12 @@ NIM_PARAMS += -d:DESKTOP_VERSION="$(DESKTOP_VERSION)"
|
|||
GIT_COMMIT=`git log --pretty=format:'%h' -n 1`
|
||||
NIM_PARAMS += -d:GIT_COMMIT="$(GIT_COMMIT)"
|
||||
|
||||
OUTPUT_CSV ?= false
|
||||
ifeq ($(OUTPUT_CSV), true)
|
||||
NIM_PARAMS += -d:output_csv
|
||||
$(shell touch .update.timestamp)
|
||||
endif
|
||||
|
||||
$(DOTHERSIDE): | deps
|
||||
echo -e $(BUILD_MSG) "DOtherSide"
|
||||
+ cd vendor/DOtherSide && \
|
||||
|
|
|
@ -21,9 +21,11 @@ logScope:
|
|||
|
||||
const PATHS = @[PATH_WALLET_ROOT, PATH_EIP_1581, PATH_WHISPER, PATH_DEFAULT_WALLET]
|
||||
const ACCOUNT_ALREADY_EXISTS_ERROR = "account already exists"
|
||||
const output_csv {.booldefine.} = false
|
||||
|
||||
include utils
|
||||
|
||||
|
||||
type
|
||||
Service* = ref object of RootObj
|
||||
fleetConfiguration: FleetConfiguration
|
||||
|
@ -486,6 +488,7 @@ proc login*(self: Service, account: AccountDto, password: string): string =
|
|||
"Port": DEFAULT_TORRENT_CONFIG_PORT
|
||||
},
|
||||
"Networks": NETWORKS,
|
||||
"OutputMessageCSVEnabled": output_csv
|
||||
}
|
||||
|
||||
let response = status_account.login(account.name, account.keyUid, hashedPassword, thumbnailImage,
|
||||
|
|
Loading…
Reference in New Issue