fix: print json correctly instead of [Object object]

This commit is contained in:
Alexis Tyler
2021-02-22 13:18:39 +10:30
parent aeddc5a4fb
commit bc9bfc45d8

View File

@@ -36,7 +36,7 @@ export const subscribeToServers = async (apiKey: string) => {
const subscription = query.subscribe({
next: async ({ data, errors }) => {
log.silly('Got data back with %s errors', errors?.length ?? 0);
log.silly('Got data %s', data);
log.silly('Got data %j', data);
log.silly('Got errors %s', errors);
if (errors) {