ngsi-timeseries-api icon indicating copy to clipboard operation
ngsi-timeseries-api copied to clipboard

Too broad exception clause in translator query method

Open c0c0n3 opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. The query method of the SQL translator catches any exception thrown by the driver when executing the query which isn't optimal.

Describe the solution you'd like Pick out relevant exception scenarios so that each error condition gets handled according to its cause and an informative message gets returned to the client.

Describe alternatives you've considered #371 implemented a stopgap solution where at least we log an error. It could be this is the best we could do, i.e. there's no easy way to implement the above.

Additional context See this thread in #371.

c0c0n3 avatar Sep 30 '20 13:09 c0c0n3

Stale issue message

github-actions[bot] avatar Mar 10 '21 02:03 github-actions[bot]