forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR(-): Log Server Error On 'Schema Adding Failure'
Now will log the error on the server like so: ``` 2024-02-28T20:30:25.154-0500, INFO, net, Created LibP2P host, {"PeerId": "12D3KooWJMRCnMLvppLUaAZwzPsWPhfk6w7wmyPdu4wUEnUVUUVP", "Address": ["/ip4/127.0.0.1/tcp/9171"]} 2024-02-28T20:30:25.156-0500, INFO, cli, Starting DefraDB 2024-02-28T20:30:25.156-0500, INFO, net, Starting internal broadcaster for pubsub network 2024-02-28T20:30:26.975-0500, ERROR, db, could not add schema, {"Error": "collection already exists"} 2024-02-28T20:30:26.975-0500, INFO, http, Request, {"Method": "POST", "Path": "/api/v0/schema", "Status": 400, "LengthBytes": 38, "ElapsedTime": "526.443┬╡s"} ```
- Loading branch information
1 parent
5a315d1
commit b73bf47
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters