mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-18 09:41:03 +02:00
- Fixed error reporting in config
- Updated tg-init-pulsar to be able to load initial config to config-svc - Tweaked API naming and added more config calls
This commit is contained in:
parent
a2c64cad4a
commit
ac03539264
7 changed files with 289 additions and 37 deletions
|
|
@ -80,7 +80,7 @@ class Processor(ConsumerProducer):
|
|||
directory = None,
|
||||
config = None,
|
||||
error = Error(
|
||||
code = "key-error",
|
||||
type = "key-error",
|
||||
message = f"Key error"
|
||||
)
|
||||
)
|
||||
|
|
@ -112,8 +112,8 @@ class Processor(ConsumerProducer):
|
|||
directory = None,
|
||||
config = None,
|
||||
error = Error(
|
||||
code="key-error",
|
||||
message="No such type",
|
||||
type = "key-error",
|
||||
message = "No such type",
|
||||
),
|
||||
)
|
||||
|
||||
|
|
@ -135,7 +135,7 @@ class Processor(ConsumerProducer):
|
|||
directory = None,
|
||||
config = None,
|
||||
error = Error(
|
||||
code = "key-error",
|
||||
type = "key-error",
|
||||
message = f"Key error"
|
||||
)
|
||||
)
|
||||
|
|
@ -167,7 +167,7 @@ class Processor(ConsumerProducer):
|
|||
directory = None,
|
||||
config = None,
|
||||
error = Error(
|
||||
code = "key-error",
|
||||
type = "key-error",
|
||||
message = f"Key error"
|
||||
)
|
||||
)
|
||||
|
|
@ -271,8 +271,8 @@ class Processor(ConsumerProducer):
|
|||
directory=None,
|
||||
values=None,
|
||||
error=Error(
|
||||
code="bad-operation",
|
||||
message="Bad operation"
|
||||
type = "bad-operation",
|
||||
message = "Bad operation"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue