Skip to content

Conversation

@sergiofenoll
Copy link

@sergiofenoll sergiofenoll commented Feb 7, 2025

Logs queries when they result in an exception being thrown. Chatty services can then disable LOG_SPARQL_ALL or LOG_SPARQL_{QUERIES,UPDATES} but still see queries that result in failures for some hopefully easier debugging.

Note:
This can result in double-logging queries (if the logging env vars are enabled) but this is in-line with how the mu-auth-sudo JS package does it.

Currently available on Docker Hub as sergiofenoll/mu-python-template:latest. Can be used while waiting for this to be merged, tagged and released, or while waiting for a feature branch to be released on this repo.

MikiDi and others added 12 commits October 4, 2024 15:45
fixes mu-semtech#22 

As mentioned there  in the current setup one would still have the sh parser trip over a use case like
```
export MODE="my mode"
./start.sh: line 4: [: too many arguments
```
This can result in double-logging queries (if the logging env vars are enabled)
but this is in-line with how the mu-auth-sudo JS package does it.
…warning

Fix typecheck for sparql_escape_float
@madnificent madnificent merged commit 48b36f6 into mu-semtech:master Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants