talaria icon indicating copy to clipboard operation
talaria copied to clipboard

Make the error message accurate

Open atlas-comstock opened this issue 2 years ago • 2 comments

2022/05/17 07:22:49 [error] ServerError: target=storage/writer/writer.go.158, reason=Internal Server Error, msg=stream: writer was not configured
2022/05/17 07:22:49 [error] ServerError: target=table/timeseries/timeseries.go.124, reason=Internal Server Error, msg=error reading from uri due to scheme  is not supported

In fact, this behaviour is intended, the table does has not scheme setting and writer configured.

atlas-comstock avatar May 17 '22 07:05 atlas-comstock

In my opinion, if the streams are not configured for a table, it should not error out. And it should throw an error if it can't configure any stream which was declared in config.

tardunge avatar May 25 '22 20:05 tardunge

@tardunge yeah, agree with you.

atlas-comstock avatar Jun 02 '22 04:06 atlas-comstock