You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server logs panic error when a bucket as the Parseable storage is not provided.
thread 'actix-rt|system:0|arbiter:2' panicked at 'called `Result::unwrap()` on an `Err` value: Storage(NoSuchBucket(NoSuchBucket { message: Some("The specified bucket does not exist") }))', server/src/handlers/logstream.rs:79:60
We need to handle the properly and log a better error - and not start the server if bucket doesn't exist.
The text was updated successfully, but these errors were encountered:
Create a separate error type for all the methods defined by ObjectStorage.
This ObjectStorageError should contain those failure variants over which
we want to handle error in future.
AwsSdkError and SdkError in AWS S3 crate covers all the variants for
failure when calling S3 APIs but parseable needs to have its own Error
type that can be used for error handling in the application itself.
Added ObjectStorageError type which contains some variants through
which we can tell what went wrong when using any of trait methods
on S3 object. Though the error variants need to expand in future so
that more complex cases could be handled correctly.
Fixes#42
Server logs panic error when a bucket as the Parseable storage is not provided.
We need to handle the properly and log a better error - and not start the server if bucket doesn't exist.
The text was updated successfully, but these errors were encountered: